t's a bit embarrasing that some of this was undone until recently, but we now
[reactos.git] / reactos / include / reactos / wine / port.h
index fd22b4e..8f0fe63 100644 (file)
@@ -315,7 +315,7 @@ extern int spawnvp(int mode, const char *cmdname, const char * const argv[]);
 
 /* Interlocked functions */
 
-#if defined(__i386__) && defined(__GNUC__)
+#if defined(__i386__) && defined(__GNUC__) && !defined(WINE_PORT_NO_INTERLOCKED)
 
 extern inline long interlocked_cmpxchg( long *dest, long xchg, long compare )
 {