comparison inttypes.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 85c12d7e8144
children 72746e08c7ec
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_INTTYPES_H_ // [ 25 #ifndef _MSC_INTTYPES_H_ // [
25 #define _MSC_INTTYPES_H_ 26 #define _MSC_INTTYPES_H_
26 27
27 #if _MSC_VER > 1000 28 #if _MSC_VER > 1000
280 #define wcstoimax _wcstoi64 281 #define wcstoimax _wcstoi64
281 #define wcstoumax _wcstoui64 282 #define wcstoumax _wcstoui64
282 283
283 284
284 #endif // _MSC_INTTYPES_H_ ] 285 #endif // _MSC_INTTYPES_H_ ]
285
286 #endif // _MSC_VER ]