summaryrefslogtreecommitdiff
path: root/includes/HsFFI.h
diff options
context:
space:
mode:
authorDarin Morrison <darinmorrison+git@gmail.com>2013-09-26 00:32:17 -0600
committerAustin Seipp <austin@well-typed.com>2013-10-11 23:08:00 -0500
commit8878541d02ad15fbdbd04608cbc6ea3fde5d5beb (patch)
tree4323a214b9d146bbc5c16b9ab5630a7912c9a941 /includes/HsFFI.h
parentfeb76385b6eb88ceb8c3bd0a21d9723a607e2944 (diff)
downloadhaskell-8878541d02ad15fbdbd04608cbc6ea3fde5d5beb.tar.gz
Fix building RtsProbes.d on Mac OS X 10.9 (#8139)
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'includes/HsFFI.h')
-rw-r--r--includes/HsFFI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/HsFFI.h b/includes/HsFFI.h
index 652fbea22b..a21811efb5 100644
--- a/includes/HsFFI.h
+++ b/includes/HsFFI.h
@@ -21,7 +21,7 @@ extern "C" {
#include "stg/Types.h"
/* get limits for integral types */
-#ifdef HAVE_STDINT_H
+#if defined HAVE_STDINT_H && !defined USE_INTTYPES_H_FOR_RTS_PROBES_D
/* ISO C 99 says:
* "C++ implementations should define these macros only when
* __STDC_LIMIT_MACROS is defined before <stdint.h> is included."