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.
24 lines
594 B
24 lines
594 B
#undef DUK_USE_BRANCH_HINTS
|
|
|
|
#if defined(DUK_F_CPP)
|
|
#define DUK_USE_COMPILER_STRING "generic-c++"
|
|
#else
|
|
#define DUK_USE_COMPILER_STRING "generic"
|
|
#endif
|
|
|
|
#undef DUK_USE_VARIADIC_MACROS
|
|
#if defined(DUK_F_C99) || defined(DUK_F_CPP11)
|
|
#define DUK_USE_VARIADIC_MACROS
|
|
#endif
|
|
|
|
/* C++ doesn't have standard designated union initializers ({ .foo = 1 }). */
|
|
#undef DUK_USE_UNION_INITIALIZERS
|
|
#if defined(DUK_F_C99)
|
|
#define DUK_USE_UNION_INITIALIZERS
|
|
#endif
|
|
|
|
/* Most portable, wastes space */
|
|
#define DUK_USE_FLEX_ONESIZE
|
|
|
|
/* Most portable, potentially wastes space */
|
|
#define DUK_USE_PACK_DUMMY_MEMBER
|
|
|