We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdba96d commit 54d4ba5Copy full SHA for 54d4ba5
1 file changed
mccode/src/port.h.in
@@ -20,13 +20,23 @@
20
*
21
*******************************************************************************/
22
23
-/* Macintosh specific compiler defines. */
+/* !!OLD!! Macintosh specific compiler defines. */
24
#ifdef __dest_os
25
#if (__dest_os == __mac_os)
26
#define MAC
27
#endif
28
29
30
+/* Modern macOS defines */
31
+#ifdef __MACH__
32
+#ifndef HAVE_STRCASECMP
33
+#define HAVE_STRCASECMP HAVE_STRCASECMP
34
+#endif
35
+#ifndef HAVE_STRCASESTR
36
+#define HAVE_STRCASESTR HAVE_STRCASESTR
37
38
39
+
40
/* File system details. */
41
#ifndef MC_PATHSEP_C
42
#ifdef WIN32
0 commit comments