diff options
Diffstat (limited to 'zap/include')
-rw-r--r-- | zap/include/zap/bs.h | 4 | ||||
-rw-r--r-- | zap/include/zap/mem.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/zap/include/zap/bs.h b/zap/include/zap/bs.h index 930b1a8..c2a7053 100644 --- a/zap/include/zap/bs.h +++ b/zap/include/zap/bs.h @@ -7,7 +7,7 @@ #if !defined(zap_priv_hdr_bs) #define zap_priv_hdr_bs -#if defined(sus_lang_cxx) +#if defined(__cplusplus) extern "C" { #endif @@ -36,7 +36,7 @@ typedef unsigned long zap_sz; #define zap_ver ((unsigned long)+0x10u) -#if defined(sus_lang_cxx) +#if defined(__cplusplus) } #endif 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 |