ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/ecb.h
(Generate patch)

Comparing deliantra/Deliantra-Client/ecb.h (file contents):
Revision 1.1 by root, Mon Nov 19 00:10:34 2018 UTC vs.
Revision 1.2 by root, Mon Nov 19 00:56:08 2018 UTC

115 #define ECB_CLANG_EXTENSION(x) 0 115 #define ECB_CLANG_EXTENSION(x) 0
116#endif 116#endif
117 117
118#define ECB_CPP (__cplusplus+0) 118#define ECB_CPP (__cplusplus+0)
119#define ECB_CPP11 (__cplusplus >= 201103L) 119#define ECB_CPP11 (__cplusplus >= 201103L)
120#define ECB_CPP14 (__cplusplus >= 201402L)
121#define ECB_CPP17 (__cplusplus >= 201703L)
120 122
121#if ECB_CPP 123#if ECB_CPP
122 #define ECB_C 0 124 #define ECB_C 0
123 #define ECB_STDC_VERSION 0 125 #define ECB_STDC_VERSION 0
124#else 126#else
126 #define ECB_STDC_VERSION __STDC_VERSION__ 128 #define ECB_STDC_VERSION __STDC_VERSION__
127#endif 129#endif
128 130
129#define ECB_C99 (ECB_STDC_VERSION >= 199901L) 131#define ECB_C99 (ECB_STDC_VERSION >= 199901L)
130#define ECB_C11 (ECB_STDC_VERSION >= 201112L) 132#define ECB_C11 (ECB_STDC_VERSION >= 201112L)
133#define ECB_C17 (ECB_STDC_VERSION >= 201710L)
131 134
132#if ECB_CPP 135#if ECB_CPP
133 #define ECB_EXTERN_C extern "C" 136 #define ECB_EXTERN_C extern "C"
134 #define ECB_EXTERN_C_BEG ECB_EXTERN_C { 137 #define ECB_EXTERN_C_BEG ECB_EXTERN_C {
135 #define ECB_EXTERN_C_END } 138 #define ECB_EXTERN_C_END }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines