1 #pragma once 2 3 #include <sys/types.h> 4 5 #ifdef __cplusplus 6 #define NULL 0 7 #else 8 #define NULL ((void *)0) 9 #endif 10 11 #if defined(__cplusplus) 12 extern "C" { 13 #endif 14 15 typedef __PTRDIFF_TYPE__ ptrdiff_t; // Signed integer type of the result of subtracting two pointers. 16 17 #if defined(__cplusplus) 18 } /* extern "C" */ 19 #endif