| 1 |
/* |
| 2 |
* Copyright (c) 2009 |
| 3 |
* Petr Ovtchenkov |
| 4 |
* |
| 5 |
* This material is provided "as is", with absolutely no warranty expressed |
| 6 |
* or implied. Any use is at your own risk. |
| 7 |
* |
| 8 |
* Permission to use or copy this software for any purpose is hereby granted |
| 9 |
* without fee, provided the above notices are retained on all copies. |
| 10 |
* Permission to modify the code and to distribute modified code is granted, |
| 11 |
* provided the above notices are retained, and a notice that the code was |
| 12 |
* modified is included with the above copyright notice. |
| 13 |
* |
| 14 |
*/ |
| 15 |
|
| 16 |
#ifndef _STLP_STDINT_H |
| 17 |
#define _STLP_STDINT_H |
| 18 |
|
| 19 |
#ifndef _STLP_OUTERMOST_HEADER_ID |
| 20 |
# define _STLP_OUTERMOST_HEADER_ID 0x263 |
| 21 |
# include <stl/_cprolog.h> |
| 22 |
#elif (_STLP_OUTERMOST_HEADER_ID == 0x263) && !defined(_STLP_DONT_POP_HEADER_ID) |
| 23 |
# define _STLP_DONT_POP_HEADER_ID |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifdef _MSC_VER |
| 27 |
# include "stl/msc_stdint.h" |
| 28 |
#else /* _MSC_VER */ |
| 29 |
# ifdef _STLP_HAS_INCLUDE_NEXT |
| 30 |
# include_next <stdint.h> |
| 31 |
# else |
| 32 |
# include _STLP_NATIVE_C_HEADER(stdint.h) |
| 33 |
# endif |
| 34 |
#endif /* _MSC_VER */ |
| 35 |
|
| 36 |
#if defined(__cplusplus) && (_STLP_OUTERMOST_HEADER_ID == 0x263) && !defined(_STLP_INTERNAL_CSTDINT) |
| 37 |
# include "stl/_cstdint.h" |
| 38 |
#endif /* __cplusplus */ |
| 39 |
|
| 40 |
#if (_STLP_OUTERMOST_HEADER_ID == 0x263) |
| 41 |
# ifndef _STLP_DONT_POP_HEADER_ID |
| 42 |
# include <stl/_epilog.h> |
| 43 |
# undef _STLP_OUTERMOST_HEADER_ID |
| 44 |
# else |
| 45 |
# undef _STLP_DONT_POP_HEADER_ID |
| 46 |
# endif |
| 47 |
#endif |
| 48 |
|
| 49 |
#endif /* _STLP_STDINT_H */ |