d55bea2e4b
- merge espie's patches - fix apps such as p5-DBD-SQLite, by adding weak pthread functions. also include some bug fixes from kurt@. the work has been done by kurt@, and espie@. thanks! ok kurt@, espie@, bernd@
30 lines
966 B
Plaintext
30 lines
966 B
Plaintext
$OpenBSD: patch-src_sqlite_h_in,v 1.1 2008/07/23 17:31:17 martynas Exp $
|
|
--- src/sqlite.h.in.orig Mon May 12 15:39:56 2008
|
|
+++ src/sqlite.h.in Sat Jul 19 15:13:05 2008
|
|
@@ -35,6 +35,7 @@
|
|
#ifndef _SQLITE3_H_
|
|
#define _SQLITE3_H_
|
|
#include <stdarg.h> /* Needed for the definition of va_list */
|
|
+#include <stdint.h>
|
|
|
|
/*
|
|
** Make sure we can call this stuff from C++.
|
|
@@ -188,6 +189,9 @@ typedef struct sqlite3 sqlite3;
|
|
** {F10202} The [sqlite_uint64] and [sqlite3_uint64] types specify
|
|
** a 64-bit unsigned integer.
|
|
*/
|
|
+typedef int64_t sqlite_int64;
|
|
+typedef uint64_t sqlite_uint64;
|
|
+#if 0
|
|
#ifdef SQLITE_INT64_TYPE
|
|
typedef SQLITE_INT64_TYPE sqlite_int64;
|
|
typedef unsigned SQLITE_INT64_TYPE sqlite_uint64;
|
|
@@ -197,6 +201,7 @@ typedef struct sqlite3 sqlite3;
|
|
#else
|
|
typedef long long int sqlite_int64;
|
|
typedef unsigned long long int sqlite_uint64;
|
|
+#endif
|
|
#endif
|
|
typedef sqlite_int64 sqlite3_int64;
|
|
typedef sqlite_uint64 sqlite3_uint64;
|