//------------------------- CSPConf.h -------------------------

//*************************************************************
//*****       Copyright ©2002 - 2004 Micronovae Ltd       *****
//*****                All rights reserved                *****
//*************************************************************

#ifndef _CSPCONF
#define  _CSPCONF

#ifndef CSPAPACHE_DLL_BUILD
#ifdef CSPLIB_DLL_BUILD
#define CSPLIB_CLASS_EXPORT __declspec(dllexport)
#else
#define CSPLIB_CLASS_EXPORT __declspec(dllimport)
#endif
#else
#define CSPLIB_CLASS_EXPORT
#endif


#ifdef CSPOBJ_DLL_BUILD
#define CSPOBJ_CLASS_EXPORT __declspec(dllexport)
#else
#define CSPOBJ_CLASS_EXPORT __declspec(dllimport)
#endif

#ifdef CSPODBC_DLL_BUILD
#define CSPODBC_CLASS_EXPORT __declspec(dllexport)
#else
#define CSPODBC_CLASS_EXPORT __declspec(dllimport)
#endif

#ifdef CSPTOOLS_DLL_BUILD
#define CSPTOOLS_CLASS_EXPORT __declspec(dllexport)
#else
#define CSPTOOLS_CLASS_EXPORT __declspec(dllimport)
#endif

#ifdef CSPDBFORM_DLL_BUILD
#define CSPDBFORM_CLASS_EXPORT __declspec(dllexport)
#else
#define CSPDBFORM_CLASS_EXPORT __declspec(dllimport)
#endif

#ifndef DEFAULT_EXCEPTION_MODE
#define DEFAULT_EXCEPTION_MODE true
#endif

#ifdef _BCC_
#define _ultoa ultoa
#define _itoa itoa
#endif

#define _WINSOCKAPI_
#include <winsock2.h>
#include <windows.h>

#endif
