eina - fix redefinition of word size if already defined

This commit is contained in:
Carsten Haitzler 2017-01-06 19:25:25 +09:00
parent 13730d7a75
commit c7d23534d9
1 changed files with 6 additions and 4 deletions

View File

@ -124,10 +124,12 @@
#include <limits.h>
#if defined(__OPENBSD__) && (INTPTR_MAX == INT32_MAX)
# define __WORDSIZE 32
#else
# define __WORDSIZE 64
#ifndef __WORDSIZE
# if defined(__OPENBSD__) && (INTPTR_MAX == INT32_MAX)
# define __WORDSIZE 32
# else
# define __WORDSIZE 64
# endif
#endif
/* Do not turn the following #define as meaning EFL64. We are only