Skip to content

Commit

Permalink
gcc: Fix compilation with -fno-operator-names (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
KindDragon authored and BillyONeal committed Jan 9, 2019
1 parent 57a7ff2 commit 21a609b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Release/include/cpprest/details/cpprest_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
// No SAL on non Windows platforms
#include "cpprest/details/nosal.h"

#if not defined __cdecl
#if defined cdecl
#if !defined(__cdecl)
#if defined(cdecl)
#define __cdecl __attribute__((cdecl))
#else // ^^^ defined cdecl ^^^ // vvv !defined cdecl vvv
#define __cdecl
Expand Down

0 comments on commit 21a609b

Please sign in to comment.