mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-18 12:41:40 -06:00
COMP: wrapped compat.h inside a extern C block so that we can use it in C++ code
This commit is contained in:
@@ -16,7 +16,10 @@
|
||||
# include <libgen.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(NEED_BASENAME) && !defined(HAVE_BASENAME)
|
||||
|
||||
# ifdef basename
|
||||
@@ -324,3 +327,6 @@ char *strsep(register char **, register const char *);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user