sqlite3_config.h

Go to the documentation of this file.
00001 /* config.h.  Generated by configure.  */
00002 /*
00003 ** 2008 March 6
00004 **
00005 ** The author disclaims copyright to this source code.  In place of
00006 ** a legal notice, here is a blessing:
00007 **
00008 **    May you do good and not evil.
00009 **    May you find forgiveness for yourself and forgive others.
00010 **    May you share freely, never taking more than you give.
00011 **
00012 *************************************************************************
00013 ** Configuration header template to be filled in by 'configure' script
00014 **
00015 ** @(#) $Id: config.h.in,v 1.3 2008/07/22 05:05:02 shane Exp $
00016 */
00017 
00018 /* !concept {:name => "Configuring SQLite3 for Symbian"} */
00019 
00020 #ifndef _CONFIG_H_
00021 #define _CONFIG_H_
00022 
00023 #include "application_config.h"
00024 
00025 #ifndef NDEBUG
00026 // Opt-in rather than opt-out in sqlite3. With our hacked sqlite we do want to have some checks in place in anything but release builds.
00027 #define SQLITE_DEBUG 1
00028 #endif
00029 
00030 
00031 /* For testing purposes, we want to use the same settings on both Symbian and Linux, so no #ifdeffing in the rest of the configuration. */
00032 
00033 
00034 /*****************************
00035 ** Data types
00036 *****************************/
00037 
00038 /* Define as 1 if you have the int8_t type */
00039 #define HAVE_INT8_T 1
00040 
00041 /* Define as 1 if you have the int16_t type */
00042 #define HAVE_INT16_T 1
00043 
00044 /* Define as 1 if you have the int32_t type */
00045 #define HAVE_INT32_T 1
00046 
00047 /* Define as 1 if you have the int64_t type */
00048 #define HAVE_INT64_T 0
00049 
00050 /* Define as 1 if you have the uint8_t type */
00051 #define HAVE_UINT8_T 1
00052 
00053 /* Define as 1 if you have the uint16_t type */
00054 #define HAVE_UINT16_T 1
00055 
00056 /* Define as 1 if you have the uint32_t type */
00057 #define HAVE_UINT32_T 1
00058 
00059 /* Define as 1 if you have the uint64_t type */
00060 #define HAVE_UINT64_T 0
00061 // In 3rd edition I believe we do have proper 64-bit ints, but that does not mean that we will actually be requiring them. They might be slow, too.
00062 
00063 
00064 /*****************************
00065 ** Header Files
00066 *****************************/
00067 
00068 /* Define as 1 if you have the sys/types.h header */
00069 #define HAVE_SYS_TYPES_H 1
00070 
00071 /* Define as 1 if you have the stdlib.h header */
00072 #define HAVE_STDLIB_H 1
00073 
00074 /* Define as 1 if you have the stdint.h header */
00075 #define HAVE_STDINT_H 1
00076 
00077 /* Define as 1 if you have the inttypes.h header */
00078 #define HAVE_INTTYPES_H 1
00079 
00080 
00081 /*****************************
00082 ** Functions
00083 *****************************/
00084 
00085 /* Define as 1 if you have the usleep() function */
00086 #define HAVE_USLEEP 0
00087 
00088 /* Define as 1 if you have the fdatasync() function */
00089 #define HAVE_FDATASYNC 1
00090 
00091 /* Define as 1 if you have the gmtime_r() function */
00092 #define HAVE_GMTIME_R 1
00093 
00094 /* Define as 1 if you have the localtime_r() function */
00095 #define HAVE_LOCALTIME_R 1
00096 
00097 /* Define as 1 if you have the localtime_s() function */
00098 /* #undef HAVE_LOCALTIME_S */
00099 
00100 
00101 /*****************************
00102 ** Large file support
00103 *****************************/
00104 
00105 #define SQLITE_DISABLE_LFS 1
00106 #define _FILE_OFFSET_BITS 32
00107 #define _LARGE_FILE 0
00108 
00109 /*****************************
00110 ** Other stuff
00111 *****************************/
00112 
00113 // Our Symbian implementation offers no thread safety.
00114 #define SQLITE_THREADSAFE 0
00115 
00116 // Anyway prior to Symbian 9.3 dlopen does not support symbolic names.
00117 #define SQLITE_OMIT_LOAD_EXTENSION 1
00118 
00119 // Our Symbian implementation does not support dirsync.
00120 #define SQLITE_DISABLE_DIRSYNC 1
00121 
00122 /* End of header */
00123 #endif

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:56 2011 by Doxygen 1.6.1