mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
hopefully fix an HP-UX 10.20 issue
This commit is contained in:
parent
b4162a1b04
commit
fa528e368e
1 changed files with 5 additions and 1 deletions
|
@ -230,7 +230,11 @@ unless ( $Config{usethreads} ) {
|
|||
push @CC_DEFINE, '-DTHREADSAFE=0';
|
||||
}
|
||||
if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {
|
||||
push @CC_DEFINE, '-DSQLITE_OMIT_LOAD_EXTENSION';
|
||||
# HP-UX 10.20 does not have pread () at all
|
||||
push @CC_DEFINE, '-DSQLITE_OMIT_LOAD_EXTENSION',
|
||||
'-UUSE_PREAD', '-UUSE_PREAD64',
|
||||
'-USQLITE_ENABLE_LOCKING_STYLE',
|
||||
'-DMAP_FAILED="((void *)-1)"';
|
||||
}
|
||||
if ($^O eq 'darwin') {
|
||||
push @CC_DEFINE, '-DSQLITE_ENABLE_LOCKING_STYLE=0';
|
||||
|
|
Loading…
Add table
Reference in a new issue