| 1 |
// ISO C9x compliant inttypes.h for Microsoft Visual Studio |
| 2 |
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 |
| 3 |
// |
| 4 |
// Copyright (c) 2006 Alexander Chemeris |
| 5 |
// |
| 6 |
// Redistribution and use in source and binary forms, with or without |
| 7 |
// modification, are permitted provided that the following conditions are met: |
| 8 |
// |
| 9 |
// 1. Redistributions of source code must retain the above copyright notice, |
| 10 |
// this list of conditions and the following disclaimer. |
| 11 |
// |
| 12 |
// 2. Redistributions in binary form must reproduce the above copyright |
| 13 |
// notice, this list of conditions and the following disclaimer in the |
| 14 |
// documentation and/or other materials provided with the distribution. |
| 15 |
// |
| 16 |
// 3. The name of the author may be used to endorse or promote products |
| 17 |
// derived from this software without specific prior written permission. |
| 18 |
// |
| 19 |
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
| 20 |
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 21 |
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
| 22 |
// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 |
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 24 |
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 25 |
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 26 |
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 27 |
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 28 |
// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 |
// |
| 30 |
/////////////////////////////////////////////////////////////////////////////// |
| 31 |
|
| 32 |
#ifndef _MSC_VER // [ |
| 33 |
#error "Use this header only with Microsoft Visual C++ compilers!" |
| 34 |
#endif // _MSC_VER ] |
| 35 |
|
| 36 |
#ifndef _MSC_INTTYPES_H_ // [ |
| 37 |
#define _MSC_INTTYPES_H_ |
| 38 |
|
| 39 |
#include <inttypes.h> |
| 40 |
|
| 41 |
#endif // _MSC_INTTYPES_H_ ] |