diff options
author | Slávek Banko <[email protected]> | 2022-09-26 18:49:19 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-09-26 18:49:19 +0200 |
commit | e9571392f67334d5b02191debfefe3b7ee064b8f (patch) | |
tree | 782f102acd38bfbbc5cbc662fb6c055ba33368c9 /config.h.cmake | |
parent | cb87252f7d1ceaef052074bc1b8290cf21df5818 (diff) | |
download | tdelibs-e9571392f67334d5b02191debfefe3b7ee064b8f.tar.gz tdelibs-e9571392f67334d5b02191debfefe3b7ee064b8f.zip |
Fix `#ifdef __cplusplus` for blocks `extern "C"` in config.h.cmake.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config.h.cmake b/config.h.cmake index 2f382cc73..b2daa5979 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1153,6 +1153,7 @@ __END_DECLS #endif #ifdef __cplusplus extern "C" +{ #endif #if !defined(HAVE_VSNPRINTF_PROTO) int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); @@ -1161,7 +1162,7 @@ int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); int snprintf(char *str, size_t n, char const *fmt, ...); #endif #ifdef __cplusplus -extern "C" +} #endif #endif @@ -1222,7 +1223,10 @@ extern "C" #define HAVE_SETEUID_FAKE #ifdef __cplusplus extern "C" +{ #endif int seteuid(INT32_BASETYPE euid); /* defined in fakes.c */ +#ifdef __cplusplus +} +#endif #endif - |