Go to the documentation of this file.00001 #ifndef __MVC_DEFINES_H__
00002 #define __MVC_DEFINES_H__
00003
00004 #if !defined( WIN32_PLATFORM ) && !defined( NIX_PLATFORM ) && !defined( MINGW_PLATFORM ) && !defined( CYGWIN_PLATFORM )
00005 #define WIN32_PLATFORM
00006 #endif
00007
00008 #ifdef MVC_EXPORT
00009 #if defined( WIN32_PLATFORM ) || defined( MINGW_PLATFORM ) || defined( CYGWIN_PLATFORM )
00010 #define MVC_DLL_ENTITY __declspec( dllexport )
00011 #endif
00012
00013 #if defined( NIX_PLATFORM )
00014 #define MVC_DLL_ENTITY
00015 #endif
00016 #else
00017 #if defined( WIN32_PLATFORM )
00018 #define MVC_DLL_ENTITY __declspec( dllimport )
00019 #pragma comment( lib , "mvc.lib" )
00020 #endif
00021
00022 #if defined( CYGWIN_PLATFORM ) || defined( MINGW_PLATFORM )
00023 #define MVC_DLL_ENTITY __declspec( dllimport )
00024 #endif
00025
00026 #if defined( NIX_PLATFORM )
00027 #define MVC_DLL_ENTITY
00028 #endif
00029 #endif
00030
00031 #if defined( MINGW_PLATFORM ) || defined( WIN32_PLATFORM )
00032 #include <utilities/nwindows.h>
00033
00034 #define MAIN_FUNC_PARAMS_LIST HINSTANCE hInstance , HINSTANCE hPrevInstance , LPSTR lpCmdLine , int nCmdShow
00035 #define MAIN_FUNC_VALUES_LIST hInstance , hPrevInstance , lpCmdLine , nCmdShow
00036 #endif
00037
00038 #if defined( CYGWIN_PLATFORM ) || defined( NIX_PLATFORM )
00039 #define MAIN_FUNC_PARAMS_LIST int argv , char * argc[]
00040 #define MAIN_FUNC_VALUES_LIST argv , argc
00041 #endif
00042
00043 #endif