diff --git a/src/common/sysutils.cpp b/src/common/sysutils.cpp
index ea08347..a0bac1e 100644
--- a/src/common/sysutils.cpp
+++ b/src/common/sysutils.cpp
@@ -169,13 +169,7 @@ void gettimeofday(struct timeval *tv, void *tz)
 #ifdef _WIN32
 void system_memorybarrier()
 {
-#ifdef _MSC_VER
     MemoryBarrier();
-#else /* (mingw) */
-    LONG Barrier = 0;
-    __asm__ __volatile__("xchgl %%eax,%0 "
-                         : "=r" (Barrier));
-#endif
 }
 #else /* !_WIN32 */
 #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)
