diff options
author | Andy Broad <andy@broad.ology.org.uk> | 2015-08-19 12:31:16 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-05 11:12:43 -0400 |
commit | 153a1061c434ce6bd260de8414949e2f86119d3f (patch) | |
tree | 59f708fa051767dba54c7e00c90ead4c55adf4e6 /perl.h | |
parent | 78d6b36aee6bcb92a17a1f961e0aff8ddd62eef9 (diff) | |
download | perl-153a1061c434ce6bd260de8414949e2f86119d3f.tar.gz |
amigaos4: WORD defined in exec/types.h
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -3702,11 +3702,10 @@ typedef struct crypt_data { /* straight from /usr/include/crypt.h */ # define USE_HASH_SEED #endif -/* Win32 defines a type 'WORD' in windef.h. This conflicts with the enumerator - * 'WORD' defined in perly.h. The yytokentype enum is only a debugging aid, so - * it's not really needed. - */ -#if defined(WIN32) +/* Win32 defines a type 'WORD' in windef.h, and AmigaOS in exec/types.h. + * This conflicts with the enumerator 'WORD' defined in perly.h. + * The yytokentype enum is only a debugging aid, so it's not really needed. */ +#if defined(WIN32) || defined(__amigaos4__) # define YYTOKENTYPE #endif #include "perly.h" |