mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
define _XOPEN_SOURCE for *bsd systems to see if this solves the compilation issue for threaded perl without any side effects
This commit is contained in:
parent
81c025e76f
commit
e838f2cf8b
1 changed files with 3 additions and 0 deletions
|
@ -248,6 +248,9 @@ if ($^O eq 'darwin') {
|
||||||
if ($^O eq 'aix') {
|
if ($^O eq 'aix') {
|
||||||
push @CC_DEFINE, '-DSQLITE_DISABLE_DIRSYNC';
|
push @CC_DEFINE, '-DSQLITE_DISABLE_DIRSYNC';
|
||||||
}
|
}
|
||||||
|
if ($^O =~ /bsd/i) {
|
||||||
|
push @CC_DEFINE, '-D_XOPEN_SOURCE';
|
||||||
|
}
|
||||||
|
|
||||||
my @CC_OPTIONS = (
|
my @CC_OPTIONS = (
|
||||||
INC => join( ' ', @CC_INC ),
|
INC => join( ' ', @CC_INC ),
|
||||||
|
|
Loading…
Add table
Reference in a new issue