Undef the macros at the end, as they are not identical (one has an EXPORT)

This commit is contained in:
Andreas Fabri
2018-05-23 11:48:58 +02:00
committed by Maxime Gimeno
parent 718db41ca5
commit 777d3057d9
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -55,7 +55,7 @@
#else // CGAL_HEADER_ONLY
#define CGAL_GLOBAL_STATE_VAR(TYPE, NAME, VALUE) \
CGAL_CORE_EXPORT extern TYPE NAME; \
CGAL_EXPORT extern TYPE NAME; \
inline TYPE& get_static_##NAME() \
{ \
return NAME; \
@@ -343,4 +343,6 @@ inline void setPositionalFormat(std::ostream& o = std::cout) {
#include <CGAL/enable_warnings.h>
#undef CGAL_GLOBAL_STATE_VAR
#endif // _CORE_COREDEFS_H_
@@ -699,3 +699,5 @@ static int GifError(const char *st) {
return -1;
}
#undef CGAL_GLOBAL_STATE_VAR