+9
-1
lines changedFilter options
+9
-1
lines changed Original file line number Diff line number Diff line change
@@ -45,7 +45,15 @@
45
45
#endif
46
46
#else
47
47
48
-
#if __APPLE__
48
+
#if defined(__APPLE__) && __APPLE__
49
+
// Warning: please keep this test as it is, do not make it
50
+
// "#if __APPLE__" or "#ifdef __APPLE__". In applications with
51
+
// a strict "no warning policy", "#if __APPLE__" triggers an "undef"
52
+
// error. With GCC, an old & never fixed bug prevents muting this
53
+
// warning (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431).
54
+
// Before this fix, the solution was to "#define __APPLE__ 0" before
55
+
// including srt.h. So, don't use "#ifdef __APPLE__" either.
56
+
49
57
// XXX Check if this condition doesn't require checking of
50
58
// also other macros, like TARGET_OS_IOS etc.
51
59
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4