mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-06 05:55:06 +00:00
Define NULL.
This commit is contained in:
parent
9f8da38cd1
commit
bce3e0b0d4
1 changed files with 5 additions and 1 deletions
|
@ -18,7 +18,9 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#include "ftglue.h"
|
||||
#ifndef NULL
|
||||
# define NULL ((void *)0)
|
||||
#endif
|
||||
|
||||
#ifndef FALSE
|
||||
# define FALSE 0
|
||||
|
@ -28,6 +30,8 @@ FT_BEGIN_HEADER
|
|||
# define TRUE 1
|
||||
#endif
|
||||
|
||||
#include "ftglue.h"
|
||||
|
||||
#define ARRAY_LEN(Array) ((int)(sizeof (Array) / sizeof (Array)[0]))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue