Skip to content

Commit

Permalink
pcmockup: fix clang warnings being ignored on gcc build
Browse files Browse the repository at this point in the history
  • Loading branch information
Helco committed Nov 21, 2018
1 parent 004d317 commit d95fb4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pcmockup/sdl.include.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
*/

#pragma GCC diagnostic push
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wpragma-pack"
#pragma GCC diagnostic ignored "-Wmacro-redefined"
#endif
#include<SDL.h>
#pragma GCC diagnostic pop

0 comments on commit d95fb4d

Please sign in to comment.