Fix #13: Support C-linkage for C++ compilation

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2019-05-24 21:57:57 +02:00
1 parent b15a14e920
commit 7f053f7624
8 files changed
+74

No files matched your search

+10
View File
@@ -23,6 +23,12 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
* ==========================================================================
*/
#ifdef __cplusplus
extern "C"
{
#endif
#ifndef LITE_STRNDUPA_H_
#define LITE_STRNDUPA_H_
@@ -51,3 +57,7 @@
#endif /* !HAVE_STRNDUPA */
#endif /* GNU_STRING_STRNDUPA_H */
#ifdef __cplusplus
}
#endif