Skip to content
Snippets Groups Projects
Commit 57c315a9 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Re-enable atomics on FreeBSD :|

The various __GNUC__ macros are defined in other compilers and
indicate support for a C language standard and can't be used to
detect if gcc the compiler is being used.
parent abe923fc
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
#include "wrapdll.h" /* DLLEXPORT and DLLCALL */
#if !__STDC_NO_ATOMICS__
#if defined __GNUC__ && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9))
#if defined __GNUC__ && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9)) && !defined(__llvm__) && !defined(__INTEL_COMPILER)
#define __STDC_NO_ATOMICS__ 1
#elif defined __BORLANDC__ || defined _MSC_VER
#define __STDC_NO_ATOMICS__ 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment