mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-08 03:22:21 +03:00
Include inttypes.h when available, add support for intptr_t (CVS 4823)
FossilOrigin-Name: 88698fbdd5387b195e1c04c0c597f3c7458757c5
This commit is contained in:
@@ -158,7 +158,9 @@ SRC = \
|
||||
$(TOP)/src/btree.h \
|
||||
$(TOP)/src/build.c \
|
||||
$(TOP)/src/callback.c \
|
||||
$(TOP)/src/common.h \
|
||||
$(TOP)/src/complete.c \
|
||||
$(TOP)/src/config.h \
|
||||
$(TOP)/src/date.c \
|
||||
$(TOP)/src/delete.c \
|
||||
$(TOP)/src/expr.c \
|
||||
@@ -318,7 +320,9 @@ HDR = \
|
||||
$(TOP)/src/sqlite3ext.h \
|
||||
$(TOP)/src/sqliteInt.h \
|
||||
$(TOP)/src/vdbe.h \
|
||||
parse.h
|
||||
parse.h \
|
||||
$(TOP)/src/common.h \
|
||||
$(TOP)/src/config.h
|
||||
|
||||
# Header files used by extensions
|
||||
#
|
||||
@@ -666,7 +670,7 @@ clean:
|
||||
rm -f .target_source
|
||||
|
||||
distclean: clean
|
||||
rm -f config.log config.status libtool Makefile config.h sqlite3.pc
|
||||
rm -f config.log config.status libtool Makefile sqlite3.pc
|
||||
|
||||
#
|
||||
# Windows section
|
||||
|
||||
17
configure.ac
17
configure.ac
@@ -87,12 +87,12 @@
|
||||
# you don't need (for example BLT) by erasing or commenting out
|
||||
# the corresponding code.
|
||||
#
|
||||
AC_INIT(src/sqlite.h.in)
|
||||
AC_INIT(sqlite, m4_esyscmd([cat VERSION | tr -d '\n']))
|
||||
|
||||
dnl Put the RCS revision string after AC_INIT so that it will also
|
||||
dnl show in in configure.
|
||||
# The following RCS revision string applies to configure.in
|
||||
# $Revision: 1.33 $
|
||||
# $Revision: 1.34 $
|
||||
|
||||
#########
|
||||
# Programs needed
|
||||
@@ -101,6 +101,15 @@ AC_PROG_LIBTOOL
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_AWK
|
||||
|
||||
#########
|
||||
# Check for needed/wanted data types
|
||||
AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, intptr_t, uint8_t,
|
||||
uint16_t, uint32_t, uint64_t, uintptr_t])
|
||||
|
||||
#########
|
||||
# Check for needed/wanted headers
|
||||
AC_CHECK_HEADERS(sys/types.h, stdlib.h, stdint.h, inttypes.h)
|
||||
|
||||
#########
|
||||
# Set up an appropriate program prefix
|
||||
#
|
||||
@@ -597,6 +606,10 @@ AC_CHECK_FUNC(usleep, [TARGET_CFLAGS="$TARGET_CFLAGS -DHAVE_USLEEP=1"])
|
||||
|
||||
AC_CHECK_FUNC(fdatasync, [TARGET_CFLAGS="$TARGET_CFLAGS -DHAVE_FDATASYNC=1"])
|
||||
|
||||
#########
|
||||
# Output the config header
|
||||
AC_CONFIG_HEADERS(src/config.h)
|
||||
|
||||
#########
|
||||
# Generate the output files.
|
||||
#
|
||||
|
||||
18
manifest
18
manifest
@@ -1,7 +1,7 @@
|
||||
C Make\sextension\sloading\smore\seasily\sconfigurable.\s\sFixes\s#2977\s(CVS\s4822)
|
||||
D 2008-03-06T04:14:18
|
||||
C Include\sinttypes.h\swhen\savailable,\sadd\ssupport\sfor\sintptr_t\s(CVS\s4823)
|
||||
D 2008-03-06T07:19:20
|
||||
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
|
||||
F Makefile.in 334e3d1d47539d5a310d7cd956ac0aeed9968059
|
||||
F Makefile.in 5a9dd0d69099728e0fca1a9cf2823226d276969a
|
||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||
F VERSION 2e206fc9458bf10a8c3ba2d13bf521a04ef441c6
|
||||
@@ -16,8 +16,8 @@ F art/nocopy.gif 716aa07d4bb7250d4e75756073bf8ef9f56bec8f
|
||||
F art/powered_by_sqlite.gif 7fbcd7d3675391fd3d21672c14c05f5999eb60d1
|
||||
F config.guess dba2d1300ec8f8cd00c6fb44b9edde21c14e960c
|
||||
F config.sub 9a842e7c332ed65cef3f2c20354e06dc998b2796
|
||||
F configure e430b461770bdbc090f3a249189c3ca701024b92 x
|
||||
F configure.ac 2ef55e74f130264d03d6704b04292dda936b9fee
|
||||
F configure a908a0ed1fb4e6cf153e719ce9ba528fcf372c29 x
|
||||
F configure.ac fd362b92973b63d8afa07bda4892eacc23255aff
|
||||
F contrib/sqlitecon.tcl 210a913ad63f9f991070821e599d600bd913e0ad
|
||||
F doc/lemon.html f0f682f50210928c07e562621c3b7e8ab912a538
|
||||
F doc/report1.txt a031aaf37b185e4fa540223cb516d3bccec7eeac
|
||||
@@ -139,7 +139,7 @@ F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
|
||||
F src/shell.c 22297fffa6f00a6c6d44020fa13b1184a1bb372d
|
||||
F src/sqlite.h.in b8158aa606f0b39426d63132ae0530d91c021abb
|
||||
F src/sqlite3ext.h 50c70a894ffe8e6ada5948c89b91db0a80a6b2a7
|
||||
F src/sqliteInt.h f3c82850bc70531e5a01f915f85954dcf0d5db27
|
||||
F src/sqliteInt.h 65c6c06549ec8c4fb415075cff9c91d51f8e255a
|
||||
F src/sqliteLimit.h ee4430f88f69bf63527967bb35ca52af7b0ccb1e
|
||||
F src/table.c 46ccf9b7892a86f57420ae7bac69ecd5e72d26b5
|
||||
F src/tclsqlite.c d95e0e74c7167b2807f9f4f73bf45f7c58096297
|
||||
@@ -621,7 +621,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
|
||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
|
||||
P 2a2e8b64df3ff9ea5831b226984ab2c85771131e
|
||||
R d067dc088f0abfde86142238a6e140db
|
||||
P fc401ad9d1c62db136ad4a1c931381aff047e164
|
||||
R 6c7ca15f58a943c612be02c8759e844e
|
||||
U mlcreech
|
||||
Z 9f38542528503021061d26737ac140cc
|
||||
Z 7deb171507d2ac8cc9e80e3fa4a75f4f
|
||||
|
||||
@@ -1 +1 @@
|
||||
fc401ad9d1c62db136ad4a1c931381aff047e164
|
||||
88698fbdd5387b195e1c04c0c597f3c7458757c5
|
||||
@@ -11,11 +11,13 @@
|
||||
*************************************************************************
|
||||
** Internal interface definitions for SQLite.
|
||||
**
|
||||
** @(#) $Id: sqliteInt.h,v 1.665 2008/03/04 17:45:01 mlcreech Exp $
|
||||
** @(#) $Id: sqliteInt.h,v 1.666 2008/03/06 07:19:20 mlcreech Exp $
|
||||
*/
|
||||
#ifndef _SQLITEINT_H_
|
||||
#define _SQLITEINT_H_
|
||||
|
||||
#include "common.h"
|
||||
|
||||
/*
|
||||
** The macro unlikely() is a hint that surrounds a boolean
|
||||
** expression that is usually false. Macro likely() surrounds
|
||||
|
||||
Reference in New Issue
Block a user