diff options
author | Kinan Hakim <kinan@google.com> | 2016-01-25 09:41:08 +0100 |
---|---|---|
committer | Kinan Hakim <kinan@google.com> | 2016-01-25 08:45:12 +0000 |
commit | ca34c1bf7ed72c4a028a6ccac8dc8833e4f7c0f7 (patch) | |
tree | 357229982fc3f179120bbfdf35a9102263c3ee61 | |
parent | bca13f2e9b7c1363f96847c939e742e99addf830 (diff) | |
download | dng_sdk-ca34c1bf7ed72c4a028a6ccac8dc8833e4f7c0f7.tar.gz |
Fix Tickcount for iOS.
-rw-r--r-- | source/dng_utils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/dng_utils.cpp b/source/dng_utils.cpp index e27b030..daf85f5 100644 --- a/source/dng_utils.cpp +++ b/source/dng_utils.cpp @@ -307,7 +307,13 @@ real64 TickCountInSeconds () #elif qMacOS + #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR + // TODO: Needs implementation. + ThrowProgramError ("TickCountInSeconds() not implemented on iOS"); + return 0; + #else return TickCount () * (1.0 / 60.0); + #endif // TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR #else |