1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Remove the dependency on test_windirent.h from the generated shell.c file.

FossilOrigin-Name: 0a50c9e3bb0dbdaaec819ac6453276ba287b475ea322918ddda1ab3a1ec4b58b
This commit is contained in:
drh
2018-01-07 21:58:17 +00:00
parent 8682e12190
commit 03491a1a1a
6 changed files with 16 additions and 12 deletions

View File

@ -50,6 +50,9 @@ while {1} {
while {![eof $in2]} {
set lx [omit_redundant_typedefs [gets $in2]]
if {[regexp {^#include "sqlite} $lx]} continue
if {[regexp {^# *include "test_windirent.h"} $lx]} {
set lx "/* $lx */"
}
set lx [string map [list __declspec(dllexport) {}] $lx]
puts $out $lx
}