#define array_size (x) sizeof (x) / sizeof (x [0]) #define widen2 (x) l ## x #define widen (x) widen2 (x) #define __wfile__widen (__file__) #define __wfunction__wide ( __FUNCTION__) #ifdef _UNICODE #define __TFILE__ __WFILE__ #define __TFUNCTION__ __WFUNCTION__ #else #define __TFILE__ __FILE__ #define __TFUNCTION__ __FUNCTION__ #endif #define __STR2 __ (x) #x #define __STR1 __ (x) __STR2 __ (x) // # define __LOC__ __FILE__ " ( "__STR1 __ (__ LINE__)"): Warning Msg: "#define __LOC2__ __FILE__" ( "__STR1 __ (__ LINE__)") "#define __FLOC__ __TFILE__" ( "__STR1 __ (__ LINE__)"): "#define __MLOC__ __TFUNCTION__" ( "__STR1__ (__Line__) "):" const INT path_len = 1024 max_path;