projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added compiler-specific CDS_DEPRECATED macro
[libcds.git]
/
cds
/
compiler
/
vc
/
defs.h
diff --git
a/cds/compiler/vc/defs.h
b/cds/compiler/vc/defs.h
index 908aa008b0c4dd467b698b85ac5d782a6df7853b..9fe924f0c20e3da479ce844d915716765965cfc8 100644
(file)
--- a/
cds/compiler/vc/defs.h
+++ b/
cds/compiler/vc/defs.h
@@
-121,6
+121,9
@@
#define CDS_DATA_ALIGNMENT(n) __declspec( align(n) )
#define CDS_CLASS_ALIGNMENT(n) __declspec( align(n) )
+// Attributes
+#define CDS_DEPRECATED( reason ) __declspec(deprecated( reason ))
+
#include <cds/compiler/vc/compiler_barriers.h>
//@endcond