Skip to content
Snippets Groups Projects
Verified Commit ee2d7985 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

macros: fix windows

parent 44700631
No related branches found
No related tags found
No related merge requests found
...@@ -37,9 +37,9 @@ ...@@ -37,9 +37,9 @@
#elif defined(WIN32) #elif defined(WIN32)
#define EIGENPY_PRAGMA(x) __pragma(#x) #define EIGENPY_PRAGMA(x) __pragma(#x)
#define EIGENPY_PRAGMA_MESSAGE(the_message) \ #define EIGENPY_PRAGMA_MESSAGE(the_message) \
EIGENPY_PRAGMA(message(EIGENPY_STRINGIZE(the_message))) EIGENPY_PRAGMA(message(#the_message))
#define EIGENPY_PRAGMA_WARNING(the_message) \ #define EIGENPY_PRAGMA_WARNING(the_message) \
EIGENPY_PRAGMA(message("WARNING: " EIGENPY_STRINGIZE(the_message))) EIGENPY_PRAGMA(message(EIGENPY_STRINGCAT("WARNING: ", the_message)))
#endif #endif
#define EIGENPY_DEPRECATED_MACRO(macro, the_message) \ #define EIGENPY_DEPRECATED_MACRO(macro, the_message) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment