* include/secext.h: Enclose function declarations in extern "C" for

__cplusplus.
This commit is contained in:
Danny Smith 2006-04-12 08:04:42 +00:00
parent 076887efab
commit be5542f716
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/secext.h: Enclose function declarations in extern "C"
if __cplusplus.
2006-04-11 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/comcat.h: INTERFACE should not remain defined

View File

@ -1,9 +1,14 @@
#ifndef _SECEXT_H
#define _SECEXT_H
#if __GNUC__ >= 3
#pragma GCC system_header
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifndef RC_INVOKED
#if (_WIN32_WINNT >= 0x0500)
typedef enum
@ -37,7 +42,11 @@ BOOLEAN WINAPI TranslateNameW(LPCWSTR,EXTENDED_NAME_FORMAT,EXTENDED_NAME_FORMAT,
#define TranslateName TranslateNameA
#endif
#endif /* ! RC_INVOKED */
#endif /* _WIN32_WINNT >= 0x0500 */
#ifdef __cplusplus
}
#endif
#endif /* ! _SECEXT_H */