1
0
Fork 0
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:
Kenichi Ishigaki 2013-05-29 06:50:06 +09:00
parent 81c025e76f
commit e838f2cf8b

View file

@ -248,6 +248,9 @@ if ($^O eq 'darwin') {
if ($^O eq 'aix') {
push @CC_DEFINE, '-DSQLITE_DISABLE_DIRSYNC';
}
if ($^O =~ /bsd/i) {
push @CC_DEFINE, '-D_XOPEN_SOURCE';
}
my @CC_OPTIONS = (
INC => join( ' ', @CC_INC ),