36 #include <HAPI/HAPI.h>
38 #if defined(__APPLE__) && defined(__MACH__)
42 #ifndef HAVE_SYS_TIME_H
43 #define HAVE_SYS_TIME_H 1
51 #ifndef HAVE_SYS_TIME_H
52 #define HAVE_SYS_TIME_H 1
56 #if( defined( _WIN64 ) || defined(WIN64) )
60 #elif( defined( _WIN32 ) || defined(WIN32) )
67 #if __x86_64__ || __ppc64__
74 #if( defined( H3D_WIN32 ) || defined( H3D_WIN64 ) )
93 #define HAVE_LIBAUDIOFILE
114 #define HAVE_FREETYPE
117 #define HAVE_FONTCONFIG
200 #define XML_USE_WIN32_TRANSCODER
201 #define XML_USE_INMEM_MESSAGELOADER
202 #define XML_USE_NETACCESSOR_WINSOCK
225 #if defined(WIN32) || defined(__WIN32__)
232 #ifdef H3DAPI_EXPORTS
233 #define H3DAPI_API __declspec(dllexport)
235 #define H3DAPI_API __declspec(dllimport)
237 #if defined(_MSC_VER) || defined(__BORLANDC__)
239 #pragma warning( disable: 4251 )
247 #define _strnicmp strnicmp
248 #define __timeb64 timeb
249 #define _ftime64 ftime
252 #define H3DAPI_MAJOR_VERSION 2
253 #define H3DAPI_MINOR_VERSION 4
254 #define H3DAPI_BUILD_VERSION 1
274 unsigned char bytes[
sizeof(
unsigned int)];
279 bool little_endian = (p.bytes[0] == 1U);
280 return little_endian;
H3D API namespace.
Definition: Anchor.h:38
void deinitializeH3D()
Deinitialize H3D API(only needed if using H3D API as a static library).
Definition: H3DApi.cpp:108
bool isLittleEndian()
Function for determining if the machine we are running on is uses little endian byte order or not.
Definition: H3DApi.h:271
double H3DAPI_API getH3DApiVersion()
Will return the version of H3DAPI as a double on the form H3DAPI_MAJOR_VERSION.H3DAPI_MINOR_VERSION.
Definition: H3DApi.cpp:122
void initializeH3D()
Initialize H3D API(only needed if using H3D API as a static library).
Definition: H3DApi.cpp:62