mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
* include/secext.h: Enclose function declarations in extern "C" for
__cplusplus.
This commit is contained in:
parent
076887efab
commit
be5542f716
@ -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>
|
2006-04-11 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||||
|
|
||||||
* include/comcat.h: INTERFACE should not remain defined
|
* include/comcat.h: INTERFACE should not remain defined
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
#ifndef _SECEXT_H
|
#ifndef _SECEXT_H
|
||||||
#define _SECEXT_H
|
#define _SECEXT_H
|
||||||
|
|
||||||
#if __GNUC__ >= 3
|
#if __GNUC__ >= 3
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef RC_INVOKED
|
#ifndef RC_INVOKED
|
||||||
#if (_WIN32_WINNT >= 0x0500)
|
#if (_WIN32_WINNT >= 0x0500)
|
||||||
typedef enum
|
typedef enum
|
||||||
@ -37,7 +42,11 @@ BOOLEAN WINAPI TranslateNameW(LPCWSTR,EXTENDED_NAME_FORMAT,EXTENDED_NAME_FORMAT,
|
|||||||
#define TranslateName TranslateNameA
|
#define TranslateName TranslateNameA
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif /* ! RC_INVOKED */
|
#endif /* ! RC_INVOKED */
|
||||||
#endif /* _WIN32_WINNT >= 0x0500 */
|
#endif /* _WIN32_WINNT >= 0x0500 */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ! _SECEXT_H */
|
#endif /* ! _SECEXT_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user