Bug 820374, comment and whitespace cleanup, addressing wtc's review comments for the earlier bustage fix
git-svn-id: svn://10.0.0.236/trunk@264548 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1e14d9b13b
commit
3a22049dee
@ -35,11 +35,13 @@ ifeq ($(OS_TARGET),Darwin)
|
||||
# version numbers, so we use the same to be compatible.
|
||||
DARWIN_DYLIB_VERSIONS = -compatibility_version 9 -current_version 9.6
|
||||
|
||||
# Required for Mac OSX 10.4 PowerPC, see bug 820374
|
||||
# The SQLite code that uses the Apple zone allocator calls
|
||||
# OSAtomicCompareAndSwapPtrBarrier, which is only available on Mac OS X 10.5
|
||||
# (Darwin 9.0) and later. Define SQLITE_WITHOUT_ZONEMALLOC to disable
|
||||
# that code for older versions of Mac OS X. See bug 820374.
|
||||
DARWIN_VER_MAJOR := $(shell uname -r | cut -f1 -d.)
|
||||
DARWIN_LT_9 := $(shell [ $(DARWIN_VER_MAJOR) -lt 9 ] && echo true)
|
||||
ifeq ($(DARWIN_LT_9),true)
|
||||
OS_CFLAGS += -DSQLITE_WITHOUT_ZONEMALLOC
|
||||
endif
|
||||
|
||||
endif
|
||||
endif # Darwin
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user