From 8d64f00fd91f83e36017d7517c9e6d9fd98f6237 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Mon, 15 Jul 2019 21:10:59 +0200 Subject: [PATCH] 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) --- include/internal/refcount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1