Skip to content

Commit

Permalink
Add ARM32/ARM64 to ptr size fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
svaarala committed Aug 12, 2017
1 parent 2b2ac63 commit b8ecbb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/header-snippets/types1.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@
defined(DUK_F_BCC) || \
(defined(__WORDSIZE) && (__WORDSIZE == 32)) || \
((defined(DUK_F_OLD_SOLARIS) || defined(DUK_F_AIX) || \
defined(DUK_F_HPUX)) && defined(_ILP32))
defined(DUK_F_HPUX)) && defined(_ILP32)) || \
defined(DUK_F_ARM32)
#define DUK_F_32BIT_PTRS
#elif defined(DUK_F_X64) || \
(defined(__WORDSIZE) && (__WORDSIZE == 64)) || \
((defined(DUK_F_OLD_SOLARIS) || defined(DUK_F_AIX) || \
defined(DUK_F_HPUX)) && defined(_LP64))
defined(DUK_F_HPUX)) && defined(_LP64)) || \
defined(DUK_F_ARM64)
#define DUK_F_64BIT_PTRS
#else
/* not sure, not needed with C99 anyway */
Expand Down

0 comments on commit b8ecbb9

Please sign in to comment.