1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

Do not force THREADSAFE=0 when perl does not have usethreads (fix #69)

This commit is contained in:
Kenichi Ishigaki 2021-04-17 14:24:04 +09:00
parent 020bc9062f
commit b56f872c82

View file

@ -262,9 +262,6 @@ if ( $^O eq 'cygwin') {
if ( $Config{d_usleep} || $Config{osname} =~ m/linux/ ) {
push @CC_DEFINE, '-DHAVE_USLEEP=1';
}
unless ( $Config{usethreads} ) {
push @CC_DEFINE, '-DTHREADSAFE=0';
}
if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {
# HP-UX 10.20 does not have pread () at all
push @CC_DEFINE,