From: Bernd Edlinger Date: Mon, 15 Jul 2019 19:10:59 +0000 (+0200) Subject: Fix a C++ comment in the refcount.h X-Git-Tag: OpenSSL_1_1_1d~102 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=8d64f00fd91f83e36017d7517c9e6d9fd98f6237 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 (Merged from https://github.com/openssl/openssl/pull/9388) --- 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