Define NULL.

This commit is contained in:
Behdad Esfahbod 2006-03-31 12:45:40 +00:00
parent 9f8da38cd1
commit bce3e0b0d4
1 changed files with 5 additions and 1 deletions

View File

@ -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]))