Changeset 1052:b3d623f04b6d in freeDiameter for extensions/app_diameap/diameap_tls.h
- Timestamp:
- Apr 24, 2013, 1:49:00 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_diameap/diameap_tls.h
r1034 r1052 40 40 #define DIAMEAP_TLS_H_ 41 41 42 #if defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 405 42 #if defined(__GNUC__) 43 43 # define GCC_DIAG_DO_PRAGMA(x) _Pragma (#x) 44 44 # define GCC_DIAG_PRAGMA(x) GCC_DIAG_DO_PRAGMA(GCC diagnostic x) 45 # if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406 45 # if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406 /* 4.6.x */ 46 46 # define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \ 47 47 GCC_DIAG_PRAGMA(ignored x) 48 48 # define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop) 49 # else 49 # else /* older */ 50 50 # define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored x) 51 51 # define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning x)
Note: See TracChangeset
for help on using the changeset viewer.