Add C specific flags

This commit is contained in:
Ahmed Yarub Hani Al Nuaimi
2021-09-10 11:32:51 -03:00
parent a97900a799
commit 835a9b8d58

View File

@@ -1,9 +1,16 @@
#ifndef UTILS_HPP
#define UTILS_HPP
#ifdef __cplusplus
extern "C" {
#endif
#if !defined(HAVE_STRNDUP)
char *strndup(const char *s, size_t n);
#endif /* ! HAVE_STRNDUP */
#ifdef __cplusplus
}
#endif
#endif //UTILS_HPP