Skip to content

Commit 21a609b

Browse files
KindDragonBillyONeal
authored andcommitted
gcc: Fix compilation with -fno-operator-names (#1009)
1 parent 57a7ff2 commit 21a609b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Release/include/cpprest/details/cpprest_compat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
// No SAL on non Windows platforms
4949
#include "cpprest/details/nosal.h"
5050

51-
#if not defined __cdecl
52-
#if defined cdecl
51+
#if !defined(__cdecl)
52+
#if defined(cdecl)
5353
#define __cdecl __attribute__((cdecl))
5454
#else // ^^^ defined cdecl ^^^ // vvv !defined cdecl vvv
5555
#define __cdecl

0 commit comments

Comments
 (0)