OpenSDN source code
compiler.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #ifndef __BASE_COMPILER_H__
7 #define __BASE_COMPILER_H__
8 
9 #ifdef __GNUC__
10 
11 #ifdef __linux__
12 #include <features.h>
13 #define __GCC_HAS_PRAGMA __GNUC_PREREQ(4, 4)
14 #define __GCC_HAS_DIAGNOSTIC_PUSH __GNUC_PREREQ(4, 6)
15 #endif // OS
16 
17 #endif // __GNUC__
18 
19 #endif // __BASE_COMPILER_H__