diff options
author | Yogi Girdhar <yogi.girdhar@kitware.com> | 2006-01-16 17:54:30 (GMT) |
---|---|---|
committer | Yogi Girdhar <yogi.girdhar@kitware.com> | 2006-01-16 17:54:30 (GMT) |
commit | dbff065bab91411cfda4cd40df1cc653128227b2 (patch) | |
tree | 865b2ee37ca195cae96e163add9e37031a06438d /Utilities | |
parent | c59c3d37a8b102a6e8749223c3b30ee64f5c93ef (diff) | |
download | CMake-dbff065bab91411cfda4cd40df1cc653128227b2.zip CMake-dbff065bab91411cfda4cd40df1cc653128227b2.tar.gz CMake-dbff065bab91411cfda4cd40df1cc653128227b2.tar.bz2 |
COMP: wrapped compat.h inside a extern C block so that we can use it in C++ code
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmtar/compat/compat.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Utilities/cmtar/compat/compat.h b/Utilities/cmtar/compat/compat.h index 471bcad..2a3206f 100644 --- a/Utilities/cmtar/compat/compat.h +++ b/Utilities/cmtar/compat/compat.h @@ -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 |