131 |
#endif |
#endif |
132 |
#ifndef TARGET_NATIVE_MISC_FORMAT_STRING1 |
#ifndef TARGET_NATIVE_MISC_FORMAT_STRING1 |
133 |
#include <stdarg.h> |
#include <stdarg.h> |
134 |
#define TARGET_NATIV_MISCE_FORMAT_STRING1(buffer,bufferSize,format,arg1) \ |
#define TARGET_NATIVE_MISC_FORMAT_STRING1(buffer,bufferSize,format,arg1) \ |
135 |
do { \ |
do { \ |
136 |
snprintf(buffer,bufferSize,format,arg1); \ |
snprintf(buffer,bufferSize,format,arg1); \ |
137 |
} while (0) |
} while (0) |
251 |
#ifndef WITH_TIMEZONE_VARIABLE |
#ifndef WITH_TIMEZONE_VARIABLE |
252 |
#define WITH_TIMEZONE_VARIABLE timezone |
#define WITH_TIMEZONE_VARIABLE timezone |
253 |
#endif |
#endif |
254 |
#define TARGET_NATIVE_UTIL_GET_TIMEZONE_STRING(string,maxStringLength,result) \ |
#define TARGET_NATIVE_MISC_GET_TIMEZONE_STRING(string,maxStringLength,result) \ |
255 |
do { \ |
do { \ |
256 |
tzset(); \ |
tzset(); \ |
257 |
\ |
\ |