mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
Included stdbool.h
This commit is contained in:
parent
cef0fc45f5
commit
ea26604d55
@ -1,17 +1,8 @@
|
||||
#ifndef __TYPE_H__
|
||||
#define __TYPE_H__
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL ((void *)0)
|
||||
#endif
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE (0)
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE (1)
|
||||
#endif
|
||||
#include <stdbool.h>
|
||||
enum { FALSE = 0, TRUE = !FALSE };
|
||||
|
||||
typedef unsigned char BYTE;
|
||||
typedef unsigned short WORD;
|
||||
|
Loading…
x
Reference in New Issue
Block a user