Skip to content
Snippets Groups Projects
Commit f3219fe5 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 15644d51
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1410 passed
......@@ -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