Add #ifdef for GCC pragma

This commit is contained in:
John Wellbelove 2018-02-25 13:41:40 +00:00
parent d3493d601d
commit 1e34b5cf46

View File

@ -7,7 +7,11 @@
// compile and run any of them on any platform, but your performance with the
// non-native version will be less than optimal.
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#include "platform.h"
#ifdef ETL_COMPILER_GCC
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#endif
#include "murmurhash3.h"