Define NULL.

pull/1/head
Behdad Esfahbod 19 years ago
parent 9f8da38cd1
commit bce3e0b0d4
  1. 6
      src/harfbuzz-impl.h

@ -18,7 +18,9 @@
FT_BEGIN_HEADER FT_BEGIN_HEADER
#include "ftglue.h" #ifndef NULL
# define NULL ((void *)0)
#endif
#ifndef FALSE #ifndef FALSE
# define FALSE 0 # define FALSE 0
@ -28,6 +30,8 @@ FT_BEGIN_HEADER
# define TRUE 1 # define TRUE 1
#endif #endif
#include "ftglue.h"
#define ARRAY_LEN(Array) ((int)(sizeof (Array) / sizeof (Array)[0])) #define ARRAY_LEN(Array) ((int)(sizeof (Array) / sizeof (Array)[0]))

Loading…
Cancel
Save