source: pacpusframework/branches/0.1.x/include/Pacpus/kernel/cstdint.h@ 359

Last change on this file since 359 was 89, checked in by morasjul, 12 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

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