Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Platform.h

Go to the documentation of this file.
00001 
00002 //                            Platform.h                                      //
00004 
00005 #ifndef PLATFORM_H
00006 #define PLATFORM_H
00007 
00008 // Defines and includes for MSVC
00009 #ifdef WIN32
00010   #ifdef X3DTK_EXPORTS
00011     #define X3DTK_API __declspec(dllexport)
00012   #else
00013     #define X3DTK_API __declspec(dllimport)  
00014   #endif
00015   
00016   #pragma pointers_to_members(full_generality, multiple_inheritance)
00017   
00018   #include <direct.h>
00019   #include <windows.h>
00020   #include <algorithm>
00021 
00022   #pragma warning (disable : 4251)
00023 
00024 #else
00025   #include <unistd.h>
00026 #endif    
00027 
00028 // Defines and includes for sgi and apple
00029 #ifdef __sgi
00030   #include <math.h>
00031 #else
00032   #include <cmath>
00033   #ifdef __APPLE__
00034     #define sinf sin
00035     #define cosf cos
00036   #endif
00037 #endif  
00038 
00039 #include "CLog.h"
00040 
00041 #endif

Generated on Thu Dec 4 13:25:47 2003 for X3DToolKit by doxygen1.2.18