aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h b/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h
index b02f60dc..50f9d504 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLUtilities.h
@@ -30,7 +30,8 @@
#include <mach/mach_time.h>
-#pragma GCC diagnostic ignored "-Wunused-function"
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-function"
/**
* Define a project function to make it easier to use mach_absolute_time()
@@ -43,3 +44,5 @@ static double _elapsedSecondsSinceAbsoluteTime(uint64_t comparisonTime)
return (((double)UnsignedWideToUInt64(elapsedTime)) * 1e-9);
}
+
+#pragma clang diagnostic pop