Skip to content

Commit 12c1ff7

Browse files
committed
No ms_stdint.h.
1 parent bcc8164 commit 12c1ff7

File tree

6 files changed

+6
-31
lines changed

6 files changed

+6
-31
lines changed

src/MMBitmap.h

+1-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
#include "types.h"
66
#include "rgb.h"
77
#include <assert.h>
8-
9-
#if defined(_MSC_VER)
10-
#include "ms_stdint.h"
11-
#else
12-
#include <stdint.h>
13-
#endif
8+
#include <stdint.h>
149

1510
#ifdef __cplusplus
1611
extern "C"

src/deadbeef_rand.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
#ifndef DEADBEEF_RAND_H
22
#define DEADBEEF_RAND_H
33

4-
#if defined(_MSC_VER)
5-
#include "ms_stdint.h"
6-
#else
7-
#include <stdint.h>
8-
#endif
4+
#include <stdint.h>
95

106
#define DEADBEEF_MAX UINT32_MAX
117

src/io.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44

55
#include "MMBitmap.h"
66
#include <stddef.h>
7+
#include <stdint.h>
78

8-
#if defined(_MSC_VER)
9-
#include "ms_stdint.h"
10-
#else
11-
#include <stdint.h>
12-
#endif
139

1410
enum _MMImageType {
1511
kInvalidImageType = 0,

src/rgb.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
#include <stdlib.h> /* For abs() */
66
#include <math.h>
77
#include "inline_keywords.h" /* For H_INLINE */
8+
#include <stdint.h>
89

9-
#if defined(_MSC_VER)
10-
#include "ms_stdint.h"
11-
#else
12-
#include <stdint.h>
13-
#endif
1410

1511
/* RGB colors in MMBitmaps are stored as BGR for convenience in converting
1612
* to/from certain formats (mainly OpenGL).

src/str_io.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44

55
#include "MMBitmap.h"
66
#include "io.h"
7+
#include <stdint.h>
78

8-
#if defined(_MSC_VER)
9-
#include "ms_stdint.h"
10-
#else
11-
#include <stdint.h>
12-
#endif
139

1410
enum _MMBMPStringError {
1511
kMMBMPStringGenericError = 0,

src/uthash.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@
2727

2828
#include <string.h> /* memcmp, strlen */
2929
#include <stddef.h> /* ptrdiff_t */
30+
#include <stdint.h>
3031

31-
#if defined(_MSC_VER)
32-
#include "ms_stdint.h"
33-
#else
34-
#include <stdint.h>
35-
#endif
3632

3733
#define UTHASH_VERSION 1.8
3834

0 commit comments

Comments
 (0)