ivl 679
ivl/details/core/platform_specific/push_macros.hpp
00001 /* This file is part of the ivl C++ library <http://image.ntua.gr/ivl>.
00002    A C++ template library extending syntax towards mathematical notation.
00003 
00004    Copyright (C) 2012 Yannis Avrithis <iavr@image.ntua.gr>
00005    Copyright (C) 2012 Kimon Kontosis <kimonas@image.ntua.gr>
00006 
00007    ivl is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU Lesser General Public License 
00009    version 3 as published by the Free Software Foundation.
00010 
00011    Alternatively, you can redistribute it and/or modify it under the terms 
00012    of the GNU General Public License version 2 as published by the Free 
00013    Software Foundation.
00014 
00015    ivl is distributed in the hope that it will be useful,
00016    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00018    See the GNU General Public License for more details.
00019 
00020    You should have received a copy of the GNU General Public License 
00021    and a copy of the GNU Lesser General Public License along 
00022    with ivl. If not, see <http://www.gnu.org/licenses/>. */
00023 
00024 
00025 #ifdef _MSC_VER
00026 #ifndef IVL_WIN32_HEADER_FILES_MACROS_PUSHED
00027 
00028 #pragma pack(push,_CRT_PACKING)
00029 #if defined(min)
00030 #pragma push_macro("min")
00031 #undef min
00032 #define _POP_MIN
00033 #endif
00034 
00035 #if defined(max)
00036 #pragma push_macro("max")
00037 #undef max
00038 #define _POP_MAX
00039 #endif
00040 
00041 #if defined(isinf)
00042 #pragma push_macro("isinf")
00043 #undef isinf
00044 #define _POP_ISINF
00045 #endif
00046 
00047 #if defined(isnan)
00048 #pragma push_macro("isnan")
00049 #undef isnan
00050 #define _POP_ISNAN
00051 #endif
00052 
00053 #define IVL_WIN32_HEADER_FILES_MACROS_PUSHED
00054 #endif /* IVL_WIN32_HEADER_FILES_MACROS_PUSHED */
00055 #endif /* _MSC_VER */
00056 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations