1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 06:38:12 -04:00

SQLITE_PTR_SZ is redundant

This commit is contained in:
Adam Kennedy 2010-01-03 04:39:53 +00:00
parent ea7093b866
commit 8f10b05a8d

View file

@ -60,7 +60,7 @@ if ( $@ or DBI->VERSION < $DBI_required ) {
# See if we have a C compiler # See if we have a C compiler
# The following code is adapted from Module::Install::Can # The following code is adapted from Module::Install::Can
{ SCOPE: {
# Fix Cygwin bug on maybe_command(); # Fix Cygwin bug on maybe_command();
if ( $^O eq 'cygwin' ) { if ( $^O eq 'cygwin' ) {
require ExtUtils::MM_Cygwin; require ExtUtils::MM_Cygwin;
@ -220,7 +220,6 @@ my @CC_DEFINE = (
# '-DSQLITE_ENABLE_FTS3_PARENTHESIS', # for sqlite >= 3.6.10 # '-DSQLITE_ENABLE_FTS3_PARENTHESIS', # for sqlite >= 3.6.10
'-DSQLITE_ENABLE_COLUMN_METADATA', '-DSQLITE_ENABLE_COLUMN_METADATA',
'-DNDEBUG=1', '-DNDEBUG=1',
"-DSQLITE_PTR_SZ=$Config{ptrsize}"
); );
if ( $Config{d_usleep} || $Config{osname} =~ m/linux/ ) { if ( $Config{d_usleep} || $Config{osname} =~ m/linux/ ) {
push @CC_DEFINE, '-DHAVE_USLEEP=1'; push @CC_DEFINE, '-DHAVE_USLEEP=1';