Add extern "C" for C++. From joerg at britannica dot bec dot de

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17667 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-22 01:32:24 +00:00
parent ed87ea10a6
commit ab3f4e34b9
2 changed files with 16 additions and 0 deletions

View File

@@ -42,6 +42,10 @@
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define fnmatch rk_fnmatch
#define FNM_NOMATCH 1 /* Match failed. */
@@ -53,4 +57,8 @@
int ROKEN_LIB_FUNCTION
fnmatch (const char *, const char *, int);
#ifdef __cplusplus
}
#endif
#endif /* !_FNMATCH_H_ */