forked from enlightenment/efl
eina: try to provide __WORDSIZE to system that don't have it aka OpenBSD.
This commit is contained in:
parent
44517fca5c
commit
273238d725
|
@ -122,6 +122,14 @@
|
|||
#endif
|
||||
@EINA_CONFIGURE_HAVE_OSX_SEMAPHORE@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#if defined(__OPENBSD__) && (INTPTR_MAX == INT32_MAX)
|
||||
# define __WORDSIZE 32
|
||||
#else
|
||||
# define __WORDSIZE 64
|
||||
#endif
|
||||
|
||||
/* Do not turn the following #define as meaning EFL64. We are only
|
||||
interested to know if sizeof (void*) == 64bits or not. Those means
|
||||
something else.
|
||||
|
|
Loading…
Reference in New Issue