summaryrefslogtreecommitdiff
path: root/includes/HsFFI.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/HsFFI.h')
-rw-r--r--includes/HsFFI.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/HsFFI.h b/includes/HsFFI.h
index bee942c44c..dea365cb65 100644
--- a/includes/HsFFI.h
+++ b/includes/HsFFI.h
@@ -11,7 +11,7 @@
#pragma once
-#ifdef __cplusplus
+#if defined(__cplusplus)
extern "C" {
#endif
@@ -118,6 +118,6 @@ extern void hs_try_putmvar (int capability, HsStablePtr sp);
-#ifdef __cplusplus
+#if defined(__cplusplus)
}
#endif