comparison stdint.h @ 2:0cf270b831ef

Rise #error if _MSC_VER is not defined. I.e. compiler other then Microsoft Visual C++ is used.
author alexander.chemeris@d525d15b-5824-0410-80a3-6185d19c2cde
date Mon, 11 Dec 2006 21:51:55 +0000
parents 45fb2c2960e1
children 20f89e144621
comparison
equal deleted inserted replaced
1:45fb2c2960e1 2:0cf270b831ef
16 // You should have received a copy of the GNU Lesser General Public 16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software 17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 /////////////////////////////////////////////////////////////////////////////// 19 ///////////////////////////////////////////////////////////////////////////////
20 20
21 // This file is only usable with Microsoft Visual Studio 2003 or later. 21 #ifndef _MSC_VER // [
22 #ifdef _MSC_VER // [ 22 #error "Use this header only with Microsoft Visual Studio 2003 or later!"
23 #endif // _MSC_VER ]
23 24
24 #ifndef _MSC_STDINT_H_ // [ 25 #ifndef _MSC_STDINT_H_ // [
25 #define _MSC_STDINT_H_ 26 #define _MSC_STDINT_H_
26 27
27 #if _MSC_VER > 1000 28 #if _MSC_VER > 1000
188 #define UINTMAX_C UINT64_C 189 #define UINTMAX_C UINT64_C
189 190
190 #endif // __STDC_CONSTANT_MACROS ] 191 #endif // __STDC_CONSTANT_MACROS ]
191 192
192 193
193
194 #endif // _MSC_STDINT_H_ ] 194 #endif // _MSC_STDINT_H_ ]
195
196 #endif // _MSC_VER ]