diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-07-15 21:10:59 +0200 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-07-17 14:17:45 +0200 |
commit | 8d64f00fd91f83e36017d7517c9e6d9fd98f6237 (patch) | |
tree | b5cf77093b001abda495951860958af46076f059 /include | |
parent | beeaa8d06e68b22733f0df0c8cc7dcd42adad360 (diff) |
Fix a C++ comment in the refcount.h
Although in a false-conditional code section gcc-4.8.4 flagged this with
a C90 warning :-(
include/internal/refcount.h:108:7: error: C++ style comments are not allowed in ISO C90 [-Werror]
// under Windows CE we still have old-style Interlocked* functions
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9388)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/refcount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/refcount.h b/include/internal/refcount.h index d2364c6212..6e1a840ef1 100644 --- a/include/internal/refcount.h +++ b/include/internal/refcount.h @@ -105,7 +105,7 @@ static __inline int CRYPTO_DOWN_REF(volatile int *val, int *ret, void *lock) # if _WIN32_WCE >= 0x600 extern long __cdecl _InterlockedExchangeAdd(long volatile*, long); # else - // under Windows CE we still have old-style Interlocked* functions + /* under Windows CE we still have old-style Interlocked* functions */ extern long __cdecl InterlockedExchangeAdd(long volatile*, long); # define _InterlockedExchangeAdd InterlockedExchangeAdd # endif |