summaryrefslogtreecommitdiff
path: root/rts/RtsProbes.d
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsProbes.d')
-rw-r--r--rts/RtsProbes.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/RtsProbes.d b/rts/RtsProbes.d
index 13f40f8201..226f881117 100644
--- a/rts/RtsProbes.d
+++ b/rts/RtsProbes.d
@@ -6,6 +6,12 @@
*
* ---------------------------------------------------------------------------*/
+#ifdef __APPLE__ && __MACH__
+# if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9
+# define USE_INTTYPES_H_FOR_RTS_PROBES_D
+# endif
+#endif
+
#include "HsFFI.h"
#include "rts/EventLogFormat.h"