Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit f3219fe5 authored by Deucе's avatar Deucе 👌🏾

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
Pipeline #1410 passed with stage
in 11 minutes and 36 seconds
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include "wrapdll.h" /* DLLEXPORT and DLLCALL */ #include "wrapdll.h" /* DLLEXPORT and DLLCALL */
#if !__STDC_NO_ATOMICS__ #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 #define __STDC_NO_ATOMICS__ 1
#elif defined __BORLANDC__ || defined _MSC_VER #elif defined __BORLANDC__ || defined _MSC_VER
#define __STDC_NO_ATOMICS__ 1 #define __STDC_NO_ATOMICS__ 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment