You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
528 B

/* The most portable current time provider is time(), but it only has a
* one second resolution.
*/
#define DUK_USE_DATE_NOW_TIME
/* The most portable way to figure out local time offset is gmtime(),
* but it's not thread safe so use with caution.
*/
#define DUK_USE_DATE_TZO_GMTIME
/* Avoid custom date parsing and formatting for portability. */
#undef DUK_USE_DATE_PRS_STRPTIME
#undef DUK_USE_DATE_FMT_STRFTIME
/* Rely on C89 headers only; time.h must be here. */
#include <time.h>
#define DUK_USE_OS_STRING "unknown"