Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreverettjf <everettjf@live.com>2015-10-21 09:11:51 +0300
committereverettjf <everettjf@live.com>2015-10-21 09:11:51 +0300
commitda42d5243205773b00788cf82ab85856ef64214b (patch)
tree14719c7156b6896e68dbc0122de848e0f2e910f0 /FMDB.podspec
parent90a9353218cf907336d27f9a4952cd6d4858e014 (diff)
add HAVE_USLEEP=1 to fmdb/SQLCipher
for the warning in line 237 of FMDatabase.m: int requestedSleepInMillseconds = arc4random_uniform(50) + 50; int actualSleepInMilliseconds = sqlite3_sleep(requestedSleepInMillseconds); if (actualSleepInMilliseconds != requestedSleepInMillseconds) { NSLog(@"WARNING: Requested sleep of %i milliseconds, but SQLite returned %i. Maybe SQLite wasn't built with HAVE_USLEEP=1?", requestedSleepInMillseconds, actualSleepInMilliseconds); } return 1;
Diffstat (limited to 'FMDB.podspec')
-rw-r--r--FMDB.podspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/FMDB.podspec b/FMDB.podspec
index 9790b39..8583c31 100644
--- a/FMDB.podspec
+++ b/FMDB.podspec
@@ -47,7 +47,7 @@ Pod::Spec.new do |s|
s.subspec 'SQLCipher' do |ss|
ss.dependency 'SQLCipher'
ss.dependency 'FMDB/common'
- ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
+ ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DHAVE_USLEEP=1' }
end
end