source: pacpusframework/trunk/include/Pacpus/kernel/cstdint.h@ 69

Last change on this file since 69 was 67, checked in by Marek Kurdej, 12 years ago

Documentation: file info.
Fixed: problem with includes in PacpusPluginInterface.h.

  • Property svn:keywords set to Id
File size: 1005 bytes
Line 
1// This file is part of the PACPUS framework distributed under the
2// CECILL-C License, Version 1.0.
3//
4/// @file
5/// @author Marek Kurdej <firstname.surname@utc.fr>
6/// @date Month, Year
7/// @version $Id: cstdint.h 67 2013-01-09 18:17:44Z kurdejma $
8/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
9/// @brief Portable version of \<cstdint\> C99 header.
10///
11/// Portable version of \<cstdint\> C99 header.
12/// It is necessary due to the non-conformance of MSVC before version 2010 to the C99 standard.
13
14#ifndef DEF_PACPUS_CSTDINT_H
15#define DEF_PACPUS_CSTDINT_H
16
17#if defined(_MSC_VER) && _MSC_VER < 1600
18// MSVC before 2010 has not <stdint.h> header (is not C99-compatible)
19
20typedef __int8 int8_t;
21typedef __int16 int16_t;
22typedef __int32 int32_t;
23typedef __int64 int64_t;
24
25typedef unsigned __int8 uint8_t;
26typedef unsigned __int16 uint16_t;
27typedef unsigned __int32 uint32_t;
28typedef unsigned __int64 uint64_t;
29
30#else
31
32#include <stdint.h>
33
34#endif
35
36#endif // DEF_PACPUS_CSTDINT_H
37
Note: See TracBrowser for help on using the repository browser.