diff options
author | 2015-03-18 18:54:42 +0100 | |
---|---|---|
committer | 2015-03-18 19:25:00 +0100 | |
commit | b050ce96e70e2601f12d5ee24b9108e90641eb26 (patch) | |
tree | efb43edc6c7ab87d58f33df56a739eecc211b2dd /include/grpc/support/atm.h | |
parent | 7bcad2ca05e4230c0fa715b82cbed870db6de847 (diff) |
Fixes for Windows atomics.
-) gpr_atm_no_barrier_load should actually return something.
-) If compiling under mingw32, your compiler is gcc and gcc atomics become available.
Diffstat (limited to 'include/grpc/support/atm.h')
-rw-r--r-- | include/grpc/support/atm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/atm.h b/include/grpc/support/atm.h index feca6b30b2..ba8d7f579e 100644 --- a/include/grpc/support/atm.h +++ b/include/grpc/support/atm.h @@ -83,7 +83,7 @@ #include <grpc/support/atm_gcc_atomic.h> #elif defined(GPR_GCC_SYNC) #include <grpc/support/atm_gcc_sync.h> -#elif defined(GPR_WIN32) +#elif defined(GPR_WIN32_ATOMIC) #include <grpc/support/atm_win32.h> #else #error could not determine platform for atm |