mirror of https://github.com/svaarala/duktape.git
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.
21 lines
520 B
21 lines
520 B
#define DUK_USE_DATE_NOW_GETTIMEOFDAY
|
|
#define DUK_USE_DATE_TZO_GMTIME_R
|
|
#define DUK_USE_DATE_PRS_STRPTIME
|
|
#define DUK_USE_DATE_FMT_STRFTIME
|
|
|
|
#include <sys/types.h>
|
|
#if defined(DUK_F_OLD_SOLARIS)
|
|
/* Old Solaris with no endian.h, stdint.h */
|
|
#define DUK_F_NO_STDINT_H
|
|
#if !defined(DUK_USE_BYTEORDER)
|
|
#define DUK_USE_BYTEORDER 3
|
|
#endif
|
|
#else /* DUK_F_OLD_SOLARIS */
|
|
#include <sys/param.h>
|
|
#endif /* DUK_F_OLD_SOLARIS */
|
|
|
|
#include <sys/param.h>
|
|
#include <sys/time.h>
|
|
#include <time.h>
|
|
|
|
#define DUK_USE_OS_STRING "solaris"
|
|
|