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

platform.h

00001 
00002 #ifndef __UPF_PLATFORM_H__
00003 #define __UPF_PLATFORM_H__
00004 
00005 /* ----------------------------------------------------------------------
00006                                GNU C++ compiler
00007    ---------------------------------------------------------------------- */
00008 
00009 #if defined(__GNUC__)
00010 #define _UPF_PRAGMA_PACK_GNU
00011 #endif
00012 
00013 
00014 /* ----------------------------------------------------------------------
00015                                   Intel C++
00016    ---------------------------------------------------------------------- */
00017 
00018 #if defined(__INTEL_COMPILER)
00019 #define _UPF_PRAGMA_PACK_WIN32
00020 #endif
00021 
00022 
00023 
00024 /* ----------------------------------------------------------------------
00025                                Unix platforms
00026    ---------------------------------------------------------------------- */
00027 
00028 #if defined(__unix__) || defined(__linux__)
00029 
00030 #define __UPF_UNIX__ 1
00031 #define _UPF_EXPORTED_SYMBOL _UPF_EXTERN_C
00032 #define _UPF_ALWAYS_EXPORTED_SYMBOL _UPF_EXTERN_C
00033 #define _UPF_CALLING_CONVENTION
00034 #define _UPF_FUNCNAME_PREFIX 
00035 
00036 #endif
00037 
00038 
00039 /* ----------------------------------------------------------------------
00040                                 Windows platform
00041    ---------------------------------------------------------------------- */
00042 
00043 #if defined(_WIN32) || defined(WIN32) || defined(__WIN32__)
00044 
00045 #define __UPF_WIN32__ 1
00046 #ifdef UPF_BUILDING_CORE
00047     #define _UPF_EXPORTED_SYMBOL _UPF_EXTERN_C __declspec(dllexport)
00048 #else
00049     #define _UPF_EXPORTED_SYMBOL _UPF_EXTERN_C __declspec(dllimport)
00050 #endif 
00051 #define _UPF_ALWAYS_EXPORTED_SYMBOL _UPF_EXTERN_C __declspec(dllexport)
00052 #define _UPF_CALLING_CONVENTION __cdecl
00053 
00054 #ifndef _UPF_PRAGMA_PACK_GNU
00055 #define _UPF_PRAGMA_PACK_WIN32
00056 #endif
00057 
00058 #endif
00059 
00060 
00061 
00062 #endif
00063     /* __UPF_PLATFORM_H__ */

Generated on Wed Jan 15 23:10:55 2003 for Universal Plugins Framework by doxygen1.2.18