1
0
Fork 0
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:
Kenichi Ishigaki 2021-04-17 18:30:10 +09:00
parent b56f872c82
commit 797b724b43

View file

@ -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,