Last change
on this file since 57 was 31, checked in by sgosseli, 12 years ago |
Huge commit: use the new includes style in all the files, add the license header in all the headers, and in some cpp.
|
File size:
771 bytes
|
Line | |
---|
1 | /**
|
---|
2 | *
|
---|
3 | * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
|
---|
4 | * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
|
---|
5 | *
|
---|
6 | * See the LICENSE file for more information or a copy at:
|
---|
7 | * http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
|
---|
8 | *
|
---|
9 | */
|
---|
10 |
|
---|
11 | #ifndef DEF_PACPUS_CSTDINT_H
|
---|
12 | #define DEF_PACPUS_CSTDINT_H
|
---|
13 |
|
---|
14 | #if defined(_MSC_VER) && _MSC_VER < 1600
|
---|
15 | // MSVC before 2010 has not <stdint.h> header (is not C99-compatible)
|
---|
16 |
|
---|
17 | typedef __int8 int8_t;
|
---|
18 | typedef __int16 int16_t;
|
---|
19 | typedef __int32 int32_t;
|
---|
20 | typedef __int64 int64_t;
|
---|
21 |
|
---|
22 | typedef unsigned __int8 uint8_t;
|
---|
23 | typedef unsigned __int16 uint16_t;
|
---|
24 | typedef unsigned __int32 uint32_t;
|
---|
25 | typedef unsigned __int64 uint64_t;
|
---|
26 |
|
---|
27 | #else
|
---|
28 |
|
---|
29 | #include <stdint.h>
|
---|
30 |
|
---|
31 | #endif
|
---|
32 |
|
---|
33 | #endif // DEF_PACPUS_CSTDINT_H
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.