1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 06:38:12 -04:00

DBD::SQLite: added SQLITE_ENABLE_LOCKING_STYLE=0 to the compiler option for MacOSX

This commit is contained in:
Kenichi Ishigaki 2010-03-27 20:13:24 +00:00
parent e65a04dedc
commit e6fd6335cd
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,8 @@ Changes for Perl extension DBD-SQLite
attribute to avoid deadlocks easily (ISHIGAKI) attribute to avoid deadlocks easily (ISHIGAKI)
- Resolved #55466: Problem with names in DB that using square - Resolved #55466: Problem with names in DB that using square
bracers (ISHIGAKI) bracers (ISHIGAKI)
- Added SQLITE_ENABLE_LOCKING_STYLE=0 for Mac OSX to avoid
compile error (ISHIGAKI)
1.30_01 Wed 10 Mar 2010 1.30_01 Wed 10 Mar 2010
*** CHANGES THAT MAY POSSIBLY BREAK YOUR OLD APPLICATIONS *** *** CHANGES THAT MAY POSSIBLY BREAK YOUR OLD APPLICATIONS ***

View file

@ -226,6 +226,9 @@ unless ( $Config{usethreads} ) {
if ($^O eq 'hpux' and $Config{osvers} <= 10.20) { if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {
push @CC_DEFINE, '-DSQLITE_OMIT_LOAD_EXTENSION'; push @CC_DEFINE, '-DSQLITE_OMIT_LOAD_EXTENSION';
} }
if ($^O eq 'darwin') {
push @CC_DEFINE, '-DSQLITE_ENABLE_LOCKING_STYLE=0';
}
my @CC_OPTIONS = ( my @CC_OPTIONS = (
INC => join( ' ', @CC_INC ), INC => join( ' ', @CC_INC ),