00001 //-< CONFIG.H >------------------------------------------------------*--------* 00002 // GigaBASE Version 1.0 (c) 1999 GARRET * ? * 00003 // (Post Relational Database Management System) * /\| * 00004 // * / \ * 00005 // Created: 21-Jan-2004 K.A. Knizhnik * / [] \ * 00006 // Last update: 21-Jan-2004 K.A. Knizhnik * GARRET * 00007 //-------------------------------------------------------------------*--------* 00008 // GigaBASE configuration definitions 00009 //-------------------------------------------------------------------*--------* 00010 00011 #ifndef __CONFIG_H__ 00012 #define __CONFIG_H__ 00013 00014 // Use configuration file generated by configure script 00015 #include "confdefs.h" 00016 00017 #ifndef AUTOCONFIG 00018 00019 // USE_LOCALE_SETTINGS - use C locale for string comparison operations 00020 #define USE_LOCALE_SETTINGS 1 00021 00022 // GIGABASE_DEBUG - debug level 00023 // - DEBUG_NONE - disable any checking and tracing (except asserts) 00024 // - DEBUG_CHECK - disable trace message 00025 // - DEBUG_TRACE - enable trace messages 00026 //#define GIGABASE_DEBUG DEBUG_TRACE 00027 00028 // USE_NAMESPACES - place GigaBASE classes in separate namespace 00029 //#define USE_NAMESPACES 1 00030 00031 00032 // SECURE_SERVER - enable authentication for remote logins: keep user/password table, 00033 // check password for remote logins 00034 //#define SECURE_SERVER 1 00035 00036 // USE_QUEUE_MANAGER - use queue manager for internal HTTP server. 00037 // This manager will manage pool of threads assigned for client connections. 00038 // Otherwise all requests will be executed sequnetially in the main loop. 00039 //#define USE_QUEUE_MANAGER 1 00040 00041 00042 // GIGABASE_DLL - create gigabase.dll 00043 //#define GIGABASE_DLL 1 00044 00045 00046 // THROW_EXCEPTION_ON_ERROR - throw C++ exception in case of database error instead of abort() 00047 #define THROW_EXCEPTION_ON_ERROR 1 00048 00049 00050 //UNICODE - use wide character strings 00051 //#define UNICODE 1 00052 00053 00054 //USE_STD_STRING - accept std::string class as table field type 00055 #ifdef _WIN32 00056 #define USE_STD_STRING 1 00057 #endif 00058 00059 //AUTOINCREMENT_SUPPORT - support autoincrement fields 00060 // (database built with this flag will be incompatible with database built without it) 00061 #define AUTOINCREMENT_SUPPORT 1 00062 00063 //CLONE_IDENTIFIERS - do not storef addresses of string constants in symbol table. 00064 // This option is needed if DLL library using GigaBASE can be unloaded. 00065 //#define CLONE_IDENTIFIERS 1 00066 00067 // RECTANGLE_DIMENSION - dimension of built-in rectangle type 00068 #define RECTANGLE_DIMENSION 2 00069 00070 // RECTANGLE_COORDINATE_TYPE - type of rectanlge's coordinates 00071 #define RECTANGLE_COORDINATE_TYPE int4 00072 00073 //SET_NULL_DACL - use NULL DACL security descriptor for all synchronization objects. 00074 //#define SET_NULL_DACL 1 00075 00076 //INT8_IS_DEFINED - int8 type is defined at your system, in this case you should use db_int8 type instead 00077 //#define INT8_IS_DEFINED 1 00078 00079 //TRACES_TO_OUTPUT_DEBUG_STRING - output trace messages using OutputDebugString Win32 function 00080 //#define TRACES_TO_OUTPUT_DEBUG_STRING 1 00081 00082 //USE_MFC - use MFC (include "afx.h" instead of "windows.h") 00083 //#define USE_MFC 1 00084 00085 //USE_ATL - use Microsoft ATL 00086 //#define USE_ATL 1 00087 00088 //USE_MFC_STRING - accept MVC CString class as table field type 00089 //#define USE_MFC_STRING 00090 00091 #endif 00092 00093 #endif