File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1717# define PAPILIO_PLATFORM_EMSCRIPTEN 1
1818#elif defined(__linux__) || defined(__gnu_linux__)
1919# define PAPILIO_PLATFORM_LINUX 1
20+ #elif defined(__OSX__) || defined(__APPLE__)
21+ # define PAPILIO_PLATFORM_MACOSX 1
2022#endif
2123
2224#ifdef __GLIBCXX__
Original file line number Diff line number Diff line change 1+ #include " papilio/print.hpp"
12#include < gtest/gtest.h>
23#include < papilio/papilio.hpp>
34#include < papilio_test/setup.hpp>
@@ -248,5 +249,18 @@ int main(int argc, char* argv[])
248249 PAPILIO_CPLUSPLUS
249250 );
250251
252+ #ifdef PAPILIO_PLATFORM_WINDOWS
253+ papilio::println (std::cerr, " PAPILIO_PLATFORM_WINDOWS defined" );
254+ #endif
255+ #ifdef PAPILIO_PLATFORM_EMSCRIPTEN
256+ papilio::println (std::cerr, " PAPILIO_PLATFORM_EMSCRIPTEN defined" );
257+ #endif
258+ #ifdef PAPILIO_PLATFORM_LINUX
259+ papilio::println (std::cerr, " PAPILIO_PLATFORM_LINUX defined" );
260+ #endif
261+ #ifdef PAPILIO_PLATFORM_MACOSX
262+ papilio::println (std::cerr, " PAPILIO_PLATFORM_MACOSX defined" );
263+ #endif
264+
251265 return RUN_ALL_TESTS ();
252266}
You can’t perform that action at this time.
0 commit comments