Skip to content

Commit

Permalink
Disable the 'GCC_PRAGMA()' macro for
Browse files Browse the repository at this point in the history
clang.
  • Loading branch information
gvanem committed Oct 3, 2020
1 parent 8f93fba commit fc003a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wsock_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
#define GCC_VERSION 0
#endif

#if (GCC_VERSION >= 40600) || defined(__clang__)
#if (GCC_VERSION >= 40600)
#define GCC_PRAGMA(x) _Pragma (#x)
#else
#define GCC_PRAGMA(x)
Expand Down

0 comments on commit fc003a8

Please sign in to comment.