/*
This file is a part of libcds - Concurrent Data Structures library
- (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+ (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
#define __attribute__( _x )
-#define CDS_STDCALL __stdcall
-
#ifdef CDS_BUILD_LIB
# define CDS_EXPORT_API __declspec(dllexport)
#else
# define CDS_DEPRECATED( reason ) __declspec(deprecated( reason ))
#endif
+#define CDS_NORETURN __declspec(noreturn)
+
+// Exceptions
+
+#if defined( _CPPUNWIND )
+# define CDS_EXCEPTION_ENABLED
+#endif
+
+
// double-width CAS support
//#define CDS_DCAS_SUPPORT
+// Byte order
+// It seems, MSVC works only on little-endian architecture?..
+#if !defined(CDS_ARCH_LITTLE_ENDIAN) && !defined(CDS_ARCH_BIG_ENDIAN)
+# define CDS_ARCH_LITTLE_ENDIAN
+#endif
+
#include <cds/compiler/vc/compiler_barriers.h>
//@endcond