]> AND Private Git Repository - loba.git/blobdiff - sync_queue.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
make_params: PREFIX can be set from 2nd parameter on command line.
[loba.git] / sync_queue.h
index c3f29e566f0b849a32c21a92c4e140a6f6c46d44..fc35339af8c5e2007ab7203a692ab905c44f5d97 100644 (file)
@@ -1,17 +1,7 @@
 #ifndef SYNC_QUEUE_H
 #define SYNC_QUEUE_H
 
-#if __GNUC__ == 4 && __GNUC_MINOR__ == 4
-#  include <cstdatomic>         // <atomic> is named <cstdatomic> in gcc 4.4
-
-template<typename _Tp>          // fix missing definition in gcc 4.4
-void
-atomic<_Tp*>::store(_Tp* __v, memory_order __m) volatile
-{ atomic_address::store(__v, __m); }
-
-#else
-#  include <atomic>
-#endif
+#include "atomic_compat.h"
 
 #define SYNC_QUEUE_BUFSIZE 16