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.
22 lines
584 B
22 lines
584 B
9 years ago
|
#if defined(DUK_F_QNX) && defined(DUK_COMPILING_DUKTAPE)
|
||
|
/* See: /opt/qnx650/target/qnx6/usr/include/sys/platform.h */
|
||
|
#define _XOPEN_SOURCE 600
|
||
|
#define _POSIX_C_SOURCE 200112L
|
||
|
#endif
|
||
|
|
||
|
#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>
|
||
|
#include <limits.h>
|
||
|
#include <sys/param.h>
|
||
|
#include <sys/time.h>
|
||
|
#include <time.h>
|
||
|
|
||
|
#define DUK_USE_SETJMP
|
||
|
#define DUK_SETJMP(jb) _setjmp((jb))
|
||
|
#define DUK_LONGJMP(jb) _longjmp((jb), 1)
|
||
|
|
||
|
#define DUK_USE_OS_STRING "qnx"
|