diff options
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/config.h.cmake b/config.h.cmake index 38def3f3..3bed93bc 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -62,9 +62,24 @@ // wifi #cmakedefine WITHOUT_ARTS 1 +/* Define if you have the strlcat prototype */ +#cmakedefine HAVE_STRLCAT_PROTO + +/* Define if you have the strlcpy prototype */ +#cmakedefine HAVE_STRLCPY_PROTO + +#if !defined(HAVE_STRLCAT_PROTO) #ifdef __cplusplus extern "C" { -unsigned long strlcpy(char*, const char*, unsigned long); unsigned long strlcat(char*, const char*, unsigned long); } #endif +#endif + +#if !defined(HAVE_STRLCPY_PROTO) +#ifdef __cplusplus +extern "C" { +unsigned long strlcpy(char*, const char*, unsigned long); +} +#endif +#endif |