mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
add SQLITE_WITHOUT_ZONEMALLOC for older MacOS X
This commit is contained in:
parent
2f71f046e4
commit
9d6da1fdca
1 changed files with 4 additions and 0 deletions
|
@ -238,6 +238,10 @@ if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {
|
|||
'-DMAP_FAILED="((void *)-1)"';
|
||||
}
|
||||
if ($^O eq 'darwin') {
|
||||
my ($osmajor, $osminor) = split /\./, $Config{osvers};
|
||||
if ($osmajor < 8 or ($osmajor == 8 && $osminor <= 11)) {
|
||||
push @CC_DEFINE, '-DSQLITE_WITHOUT_ZONEMALLOC=1';
|
||||
}
|
||||
push @CC_DEFINE, '-DSQLITE_ENABLE_LOCKING_STYLE=0';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue