Mercurial > ms-int-types
diff 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 |
line wrap: on
line diff
--- a/stdint.h +++ b/stdint.h @@ -18,8 +18,9 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA /////////////////////////////////////////////////////////////////////////////// -// This file is only usable with Microsoft Visual Studio 2003 or later. -#ifdef _MSC_VER // [ +#ifndef _MSC_VER // [ +#error "Use this header only with Microsoft Visual Studio 2003 or later!" +#endif // _MSC_VER ] #ifndef _MSC_STDINT_H_ // [ #define _MSC_STDINT_H_ @@ -190,7 +191,4 @@ typedef uint64_t uintmax_t; #endif // __STDC_CONSTANT_MACROS ] - #endif // _MSC_STDINT_H_ ] - -#endif // _MSC_VER ]