summaryrefslogtreecommitdiff
path: root/zap/include/zap/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'zap/include/zap/mem.h')
-rw-r--r--zap/include/zap/mem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zap/include/zap/mem.h b/zap/include/zap/mem.h
index 0580019..46ab872 100644
--- a/zap/include/zap/mem.h
+++ b/zap/include/zap/mem.h
@@ -9,7 +9,7 @@
#include <zap/bs.h>
-#if defined(sus_lang_cxx)
+#if defined(__cplusplus)
extern "C" {
#endif
@@ -35,7 +35,7 @@ __attribute__ ((hot,nothrow)) zap_sz zap_utf8enclen(zap_chr
__attribute__ ((hot,nothrow)) void zap_win1252dec(zap_chr8 const * in, zap_chr20 * out);
__attribute__ ((hot,nothrow)) void zap_win1252enc(zap_chr20 const * in, zap_chr8 * out);
-#if defined(sus_lang_cxx)
+#if defined(__cplusplus)
}
#endif