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

Merge pull request #71 from DBD-SQLite/check_pthreads

Check pthreads
This commit is contained in:
Kenichi Ishigaki 2021-04-17 18:49:26 +09:00 committed by GitHub
commit 2cd3f0cb20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -16,6 +16,10 @@ jobs:
matrix: matrix:
perl-version: perl-version:
- '5.8' - '5.8'
- '5.10'
- '5.18'
- '5.20'
- '5.26'
- 'latest' - 'latest'
container: container:

View file

@ -262,7 +262,7 @@ 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} ) { if ( !$Config{usethreads} and $Config{libs} !~ /pthreads/ ) {
push @CC_DEFINE, '-DTHREADSAFE=0'; push @CC_DEFINE, '-DTHREADSAFE=0';
} }
if ($^O eq 'hpux' and $Config{osvers} <= 10.20) { if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {