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 01c1dbd..f6baaaf 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <thread>
 #include <chrono>
-#include <cds/details/defs.h>
 #include <cds/compiler/backoff.h>
 
 namespace cds {
index f8ec9e7..2380347 100644 (file)
@@ -3,6 +3,8 @@
 #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>