mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
Revert "Do not force THREADSAFE=0 when perl does not have usethreads (fix #69)"
This reverts commit b56f872c82
.
This commit is contained in:
parent
b56f872c82
commit
797b724b43
1 changed files with 3 additions and 0 deletions
|
@ -262,6 +262,9 @@ if ( $^O eq 'cygwin') {
|
||||||
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';
|
||||||
}
|
}
|
||||||
|
unless ( $Config{usethreads} ) {
|
||||||
|
push @CC_DEFINE, '-DTHREADSAFE=0';
|
||||||
|
}
|
||||||
if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {
|
if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {
|
||||||
# HP-UX 10.20 does not have pread () at all
|
# HP-UX 10.20 does not have pread () at all
|
||||||
push @CC_DEFINE,
|
push @CC_DEFINE,
|
||||||
|
|
Loading…
Add table
Reference in a new issue