1 #ifndef STDDEF_H 2 #define STDDEF_H 3 4 // CHDK stddef 5 6 // Note: used in modules and platform independent code. 7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values) 8 9 //========================================================== 10 11 typedef unsigned int size_t; 12 13 #define NULL ((void*)0) 14 15 // For building Lua 16 typedef int ptrdiff_t; 17 18 //--------------------------------------------------------------- 19 20 #endif