Browse Source

better UINTPTR_MAX limit check for packed tval detection

pull/1/head
Sami Vaarala 11 years ago
parent
commit
44192183a9
  1. 2
      src/duk_features.h

2
src/duk_features.h

@ -681,7 +681,7 @@ typedef double duk_double_t;
*/ */
#undef DUK_USE_PACKED_TVAL_POSSIBLE #undef DUK_USE_PACKED_TVAL_POSSIBLE
#if defined(UINTPTR_MAX) && (UINTPTR_MAX == 0xffffffffUL) #if defined(UINTPTR_MAX) && (UINTPTR_MAX <= 0xffffffffUL)
/* strict C99 check */ /* strict C99 check */
#define DUK_USE_PACKED_TVAL_POSSIBLE #define DUK_USE_PACKED_TVAL_POSSIBLE
#endif #endif

Loading…
Cancel
Save