change header sequence for back-off
authorkhizmax <libcds.dev@gmail.com>
Sun, 2 Nov 2014 05:44:47 +0000 (08:44 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sun, 2 Nov 2014 05:44:47 +0000 (08:44 +0300)
cds/algo/backoff_strategy.h
cds/compiler/backoff.h

index 01c1dbd194d0a0b9670b2fe2d6329b76ab3dd424..f6baaaf0be9fb0d5e32783c240fb832e0676d08e 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <thread>
 #include <chrono>
 
 #include <thread>
 #include <chrono>
-#include <cds/details/defs.h>
 #include <cds/compiler/backoff.h>
 
 namespace cds {
 #include <cds/compiler/backoff.h>
 
 namespace cds {
index f8ec9e7d1b8b926cdb4fd995b7defafec2e9236d..238034762f15ea09da09b62d4e262a030f979c4e 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef __CDS_COMPILER_BACKOFF_IMPL_H
 #define __CDS_COMPILER_BACKOFF_IMPL_H
 
 #ifndef __CDS_COMPILER_BACKOFF_IMPL_H
 #define __CDS_COMPILER_BACKOFF_IMPL_H
 
+#include <cds/details/defs.h>
+
 #if CDS_COMPILER == CDS_COMPILER_MSVC || (CDS_COMPILER == CDS_COMPILER_INTEL && CDS_OS_INTERFACE == CDS_OSI_WINDOWS)
 #   if CDS_PROCESSOR_ARCH == CDS_PROCESSOR_X86
 #       include <cds/compiler/vc/x86/backoff.h>
 #if CDS_COMPILER == CDS_COMPILER_MSVC || (CDS_COMPILER == CDS_COMPILER_INTEL && CDS_OS_INTERFACE == CDS_OSI_WINDOWS)
 #   if CDS_PROCESSOR_ARCH == CDS_PROCESSOR_X86
 #       include <cds/compiler/vc/x86/backoff.h>