We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12172e7 commit 9235d1aCopy full SHA for 9235d1a
include/msgpack/sysdep.h
@@ -51,8 +51,8 @@
51
# endif /* WIN32_LEAN_AND_MEAN */
52
# endif
53
typedef long _msgpack_atomic_counter_t;
54
-# define _msgpack_sync_decr_and_fetch(ptr) InterlockedDecrement(ptr)
55
-# define _msgpack_sync_incr_and_fetch(ptr) InterlockedIncrement(ptr)
+# define _msgpack_sync_decr_and_fetch(ptr) _InterlockedDecrement(ptr)
+# define _msgpack_sync_incr_and_fetch(ptr) _InterlockedIncrement(ptr)
56
#elif defined(__GNUC__) && ((__GNUC__*10 + __GNUC_MINOR__) < 41)
57
58
# if defined(__cplusplus)
0 commit comments