]> granicus.if.org Git - libatomic_ops/commitdiff
Make AO_ASSUME_VISTA also enables Win98 code in msftc/x86.h (Win32)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 8 Oct 2012 09:21:11 +0000 (13:21 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 8 Oct 2012 09:21:11 +0000 (13:21 +0400)
* src/atomic_ops/sysdeps/msftc/x86.h (AO_ASSUME_WINDOWS98): Explicitly
define if AO_ASSUME_VISTA.

src/atomic_ops/sysdeps/msftc/x86.h

index 897bd8b09e2d5fb44987f2e0a8090b7ffd03e6f6..af5bf7146f810f107f86626a0e53e1da64d319e7 100644 (file)
 
 #include "../test_and_set_t_is_char.h"
 
+#if defined(AO_ASSUME_VISTA) && !defined(AO_ASSUME_WINDOWS98)
+# define AO_ASSUME_WINDOWS98
+#endif
+
 #ifndef AO_USE_INTERLOCKED_INTRINSICS
   /* _Interlocked primitives (Inc, Dec, Xchg, Add) are always available */
 # define AO_USE_INTERLOCKED_INTRINSICS