Skip to content

Commit

Permalink
No ms_stdint.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Jul 23, 2015
1 parent bcc8164 commit 12c1ff7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 31 deletions.
7 changes: 1 addition & 6 deletions src/MMBitmap.h
Expand Up @@ -5,12 +5,7 @@
#include "types.h"
#include "rgb.h"
#include <assert.h>

#if defined(_MSC_VER)
#include "ms_stdint.h"
#else
#include <stdint.h>
#endif
#include <stdint.h>

#ifdef __cplusplus
extern "C"
Expand Down
6 changes: 1 addition & 5 deletions src/deadbeef_rand.h
@@ -1,11 +1,7 @@
#ifndef DEADBEEF_RAND_H
#define DEADBEEF_RAND_H

#if defined(_MSC_VER)
#include "ms_stdint.h"
#else
#include <stdint.h>
#endif
#include <stdint.h>

#define DEADBEEF_MAX UINT32_MAX

Expand Down
6 changes: 1 addition & 5 deletions src/io.h
Expand Up @@ -4,12 +4,8 @@

#include "MMBitmap.h"
#include <stddef.h>
#include <stdint.h>

#if defined(_MSC_VER)
#include "ms_stdint.h"
#else
#include <stdint.h>
#endif

enum _MMImageType {
kInvalidImageType = 0,
Expand Down
6 changes: 1 addition & 5 deletions src/rgb.h
Expand Up @@ -5,12 +5,8 @@
#include <stdlib.h> /* For abs() */
#include <math.h>
#include "inline_keywords.h" /* For H_INLINE */
#include <stdint.h>

#if defined(_MSC_VER)
#include "ms_stdint.h"
#else
#include <stdint.h>
#endif

/* RGB colors in MMBitmaps are stored as BGR for convenience in converting
* to/from certain formats (mainly OpenGL).
Expand Down
6 changes: 1 addition & 5 deletions src/str_io.h
Expand Up @@ -4,12 +4,8 @@

#include "MMBitmap.h"
#include "io.h"
#include <stdint.h>

#if defined(_MSC_VER)
#include "ms_stdint.h"
#else
#include <stdint.h>
#endif

enum _MMBMPStringError {
kMMBMPStringGenericError = 0,
Expand Down
6 changes: 1 addition & 5 deletions src/uthash.h
Expand Up @@ -27,12 +27,8 @@

#include <string.h> /* memcmp, strlen */
#include <stddef.h> /* ptrdiff_t */
#include <stdint.h>

#if defined(_MSC_VER)
#include "ms_stdint.h"
#else
#include <stdint.h>
#endif

#define UTHASH_VERSION 1.8

Expand Down

0 comments on commit 12c1ff7

Please sign in to comment.