Fixed clang "unused-function" warning
[libcds.git] / cds / compiler / defs.h
index 71025ccebb0ca1ab8f532f60aefd9cd4cfb67b0e..a70ee5b9334b868f292273e0c0ed949774b7a2f3 100644 (file)
 #   error Unknown value of CDS_COMPILER macro
 #endif
 
-#ifndef CDS_STDCALL
-#   define CDS_STDCALL
-#endif
-
 #ifndef CDS_EXPORT_API
 #   define CDS_EXPORT_API
 #endif
 #   define cds_unlikely( expr ) expr
 #endif
 
+#ifndef static_if
+#   define static_if  if
+#endif
+
 // Features
 #include <cds/compiler/feature_tsan.h>