00001 #ifndef _OSL_CONFIG_H 00002 #define _OSL_CONFIG_H 00003 00004 #include <stdint.h> 00005 #include <boost/static_assert.hpp> 00006 00007 #if ((defined __FreeBSD__) || (defined __CYGWIN32__)) 00008 # define __WORDSIZE 32 00009 #endif 00010 00015 // #define OSL_WORDSIZE_64_IN_32 00016 00017 BOOST_STATIC_ASSERT(__WORDSIZE); 00022 #if ((__WORDSIZE == 64) || (defined (OSL_WORDSIZE_64_IN_32))) 00023 # define OSL_WORDSIZE 64 00024 #else 00025 # define OSL_WORDSIZE 32 00026 #endif 00027 00028 #endif /* _OSL_CONFIG_H */