Compilation: fix up tools includes.
[gnumeric.git] / src / compilation.h
blobdb8892949c8957f70ad12c3c999a6a55a329ed07
1 #ifndef GNUMERIC_GTK_COMPILATION_H
2 #define GNUMERIC_GTK_COMPILATION_H
4 #if defined(__GNUC__)
5 #define GNM_BEGIN_KILL_SWITCH_WARNING _Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wswitch\"")
6 #define GNM_END_KILL_SWITCH_WARNING _Pragma("GCC diagnostic pop")
7 #endif
9 #ifndef GNM_BEGIN_KILL_SWITCH_WARNING
10 #define GNM_BEGIN_KILL_SWITCH_WARNING
11 #endif
12 #ifndef GNM_END_KILL_SWITCH_WARNING
13 #define GNM_END_KILL_SWITCH_WARNING
14 #endif
16 #endif