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

NetBSD also doesn't like the _XOPEN_SOURCE hack

This commit is contained in:
Kenichi Ishigaki 2013-07-28 14:24:24 +09:00
parent 0b8fedf492
commit d2741d1f91

View file

@ -248,7 +248,7 @@ if ($^O eq 'darwin') {
if ($^O eq 'aix') {
push @CC_DEFINE, '-DSQLITE_DISABLE_DIRSYNC';
}
if ($^O =~ /bsd/i && $^O ne 'openbsd') {
if ($^O =~ /bsd/i && $^O !~ /(?:open|net)bsd/) {
push @CC_DEFINE, '-D_XOPEN_SOURCE';
}