Fix device-only build warning (#8696)

This commit is contained in:
Paul Beusterien authored and GitHub committed 2021-09-23 07:46:11 -07:00
1 parent d898b64b36
commit a550e68ca8
2 files changed
+5

No files matched your search

@@ -155,6 +155,7 @@ NSString *GINFingerprintJSMethodString(void) {
// and -1 when an error occurs.
// From:
// https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment
#if TARGET_OS_SIMULATOR
static int processIsTranslated() {
int ret = 0;
size_t size = sizeof(ret);
@@ -164,6 +165,7 @@ static int processIsTranslated() {
}
return ret;
}
#endif
@end