Skip to content

Commit

Permalink
Disable warning on macos with dmon.h (#1402)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk authored Apr 26, 2024
1 parent d079eb3 commit f1df2cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/F3DStarter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
// dmon includes Windows.h which defines 'ERROR' and conflicts with log.h
#undef ERROR
#pragma warning(pop)
#elif __APPLE__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#include "dmon.h"
#pragma clang diagnostic pop
#else
#include "dmon.h"
#endif
Expand Down

0 comments on commit f1df2cd

Please sign in to comment.