diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-07 17:22:22 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-07 17:22:22 +0800 |
commit | c55b817add08717e5ac64720148d3afb205f4518 (patch) | |
tree | 1a044f7fa15c7be2449e7a164bfd94d12ca5bd2d | |
parent | 7c0da5796fdbe5b0b78b2d1e35c82df6e3419932 (diff) |
uniconv: pretect c++compiler from mangling our symbols
-rw-r--r-- | uniconv.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ #include <stddef.h> -#ifdef cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -29,7 +29,7 @@ extern "C" { void uniconv_close(uniconv_t *uc); -#ifdef cplusplus +#ifdef __cplusplus } #endif |