1
0
Fork 0
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:
Kenichi Ishigaki 2011-06-24 14:59:21 +00:00
parent b4162a1b04
commit fa528e368e

View file

@ -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';