summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stun/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stun/udp.h b/src/stun/udp.h
index 13f8353..35fcb75 100644
--- a/src/stun/udp.h
+++ b/src/stun/udp.h
@@ -2,7 +2,7 @@
#define udp_h
-#ifdef __MACH__
+#if defined(__APPLE__) && defined(__MACH__)
typedef int socklen_t;
#endif