mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-22 22:48:08 +03:00
Change the underlying type of boolean to C99 _Bool
This commit is contained in:
+2
-8
@@ -26,12 +26,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include <dmalloc.h>
|
||||
#endif
|
||||
|
||||
#define YES 1
|
||||
#define NO 0
|
||||
#define OK 0
|
||||
#define NG (-1)
|
||||
#define true 1
|
||||
@@ -40,7 +34,7 @@
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#undef TRUE
|
||||
#define TRUE (!FALSE)
|
||||
#define TRUE 1
|
||||
#endif
|
||||
|
||||
#define min(x,y) ((x) < (y) ? (x) : (y))
|
||||
@@ -53,7 +47,7 @@ typedef unsigned long ___DWORD;
|
||||
#else
|
||||
typedef unsigned int ___DWORD;
|
||||
#endif
|
||||
typedef char ___boolean;
|
||||
typedef _Bool ___boolean;
|
||||
|
||||
#ifndef BYTE
|
||||
#define BYTE ___BYTE
|
||||
|
||||
Reference in New Issue
Block a user