Skip to content

Commit eb51d32

Browse files
committed
Codechange: Include cstdint instead of typedefing uintX_t.
1 parent 5e4c068 commit eb51d32

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/stdafx.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#include <cstdarg>
2727
#include <cstdio>
28+
#include <cstdint>
2829
#include <cstdlib>
2930
#include <cstring>
3031

@@ -33,9 +34,6 @@
3334
#include <string>
3435

3536
#if defined(_MSC_VER)
36-
typedef unsigned char uint8_t;
37-
typedef unsigned short uint16_t;
38-
typedef unsigned int uint32_t;
3937
#define UNUSED
4038

4139
#define fileno _fileno

0 commit comments

Comments
 (0)