MorphoGraphX  2.0-1-227
Features.hpp
Go to the documentation of this file.
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef MGX_FEATURES_H
12 #define MGX_FEATURES_H
13 
14 #include <Config.hpp>
15 
16 #ifdef __GNUC__
17 # ifdef WIN32
18 # include <_mingw.h>
19 # define __GNUC_PREREQ(x, y) __MINGW_GNUC_PREREQ(x, y)
20 # else
21 # include <features.h>
22 # endif
23 # define __GNUC_LESS(x, y) (!__GNUC_PREREQ(x, y))
24 #endif
25 
26 #ifndef __GNUC_LESS
27 #define __GNUC_LESS(x, y) 0
28 #endif
29 
30 #endif