Xmipp  v3.23.11-Nereus
gcc_version.h
Go to the documentation of this file.
1 /***************************************************************************
2 *
3 * Authors: Sjors H.W. Scheres
4 * Roberto Marabini
5 *
6 * Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 * 02111-1307 USA
22 *
23 * All comments concerning this program package may be sent to the
24 * e-mail address 'xmipp@cnb.csic.es'
25 ***************************************************************************/
26 
27 #ifndef CORE_GCC_VERSION_H
28 #define CORE_GCC_VERSION_H
29 
30 // If we do not use a GNU compiler, then set the GCC_VERSION to a very high number
31 #ifdef __GNUC__
32 #define GCC_VERSION (__GNUC__ * 10000 \
33  + __GNUC_MINOR__ * 100 \
34  + __GNUC_PATCHLEVEL__)
35 #else
36 #define GCC_VERSION 999999
37 #endif
38 
39 #if GCC_VERSION < 30300
40 #include <strstream>
41 #else
42 #include <sstream>
43 #endif
44 
45 
46 #endif
47 
48