00001 /******************************************************************************/ 00002 /* */ 00003 /* POLiTe - Persistent Object Library Test */ 00004 /* Ph.D. Thesis by Mgr. Michal Kopecky */ 00005 /* */ 00006 /* Charles University Prague */ 00007 /* */ 00008 /******************************************************************************/ 00009 /* */ 00010 /* File name: ... lDefs.h */ 00011 /* Module: ...... none */ 00012 /* */ 00013 /******************************************************************************/ 00014 /* */ 00015 /* lDefsX.h : Declares platform dependent */ 00016 /* preprocessor label definitions for the library */ 00017 /* */ 00018 /******************************************************************************/ 00019 00020 #ifndef __L_DEFSX_H__ 00021 #define __L_DEFSX_H__ 00022 00023 /* if compiled by MSVC or BC++, define macro DLL_External */ 00024 /* application pre-defines it as __declspec(dllimport) */ 00025 #if defined(_MSC_VER) || defined (__BORLANDC__) 00026 # ifndef DLL_External 00027 # define DLL_External __declspec(dllexport) 00028 # endif 00029 #else 00030 # define DLL_External 00031 #endif 00032 00033 /* Switch the database connectivity off */ 00034 00035 /* 00036 #ifndef NO_DATABASE_PRESENT 00037 #define NO_DATABASE_PRESENT 00038 #endif 00039 */ 00040 00041 #endif /*__L_DEFSX_H__*/