We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103b645 commit b30eef9Copy full SHA for b30eef9
1 file changed
include/hxcpp.h
@@ -90,17 +90,15 @@
90
#else
91
#define HXCPP_EXTERN_CLASS_ATTRIBUTES
92
#endif
93
- #define HXCPP_CPLUSPLUS _MSVC_LANG
94
95
#if defined(HXCPP_DLL_EXPORT)
96
#define HXCPP_EXTERN_CLASS_ATTRIBUTES __attribute__((visibility("default")))
97
98
99
100
- #define HXCPP_CPLUSPLUS __cplusplus
101
102
103
-#if HXCPP_CPLUSPLUS >= 201103L
+#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSVC_LANG >= 201103L)
104
#define HXCPP_OVERRIDE override
105
106
#define HXCPP_OVERRIDE
0 commit comments