summaryrefslogtreecommitdiff
path: root/dist/s_windows
diff options
context:
space:
mode:
Diffstat (limited to 'dist/s_windows')
-rwxr-xr-xdist/s_windows8
1 files changed, 7 insertions, 1 deletions
diff --git a/dist/s_windows b/dist/s_windows
index 5e4d38ef..9e4c67fb 100755
--- a/dist/s_windows
+++ b/dist/s_windows
@@ -84,6 +84,7 @@ typedef u_int32_t uintptr_t;\\
typedef int64_t off_t;
d
}
+s/@db_off_t_decl@/typedef int64_t db_off_t;/
/@platform_header@/{
i\\
/*\\
@@ -269,9 +270,14 @@ f=../build_windows/dbstl_common.h
cmp $t $f > /dev/null 2>&1 ||
(echo "Building $f" && rm -f $f && cp $t $f)
+# Copy in sqlite3.h.
+f=../build_windows/sqlite3.h
+cmp ../lang/sql/generated/sqlite3.h $f > /dev/null 2>&1 ||
+ (echo "Building $f" && rm -f $f && cp ../lang/sql/generated/sqlite3.h $f)
+
# Copy in errno.h.
f=../build_wince/errno.h
cmp errno.h $f > /dev/null 2>&1 ||
(echo "Building $f" && rm -f $f && cp errno.h $f)
-
+
rm -f $s $t