include/msvcrt: Wrap remaining msvcrt headers for C++ compilation.

This commit is contained in:
Jon Griffiths 2008-06-11 14:08:19 -07:00 committed by Alexandre Julliard
parent c5bedbf69e
commit 7d39c97e5f
2 changed files with 16 additions and 0 deletions

View File

@ -77,6 +77,10 @@ typedef struct _CrtMemState
#define _CrtDbgBreak() ((void)0) #define _CrtDbgBreak() ((void)0)
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
extern int _crtAssertBusy; extern int _crtAssertBusy;
extern int _crtBreakAlloc; extern int _crtBreakAlloc;
extern int _crtDbgFlag; extern int _crtDbgFlag;
@ -90,6 +94,10 @@ int _CrtSetDbgFlag(int new);
void *_CrtSetDumpClient(void *dumpClient); void *_CrtSetDumpClient(void *dumpClient);
int _CrtSetReportMode(int reportType, int reportMode); int _CrtSetReportMode(int reportType, int reportMode);
#ifdef __cplusplus
}
#endif
#endif /* _DEBUG */ #endif /* _DEBUG */
#define _CrtDoForAllClientObjects(f,c) ((void)0) #define _CrtDoForAllClientObjects(f,c) ((void)0)

View File

@ -33,6 +33,10 @@
#define NSIG (SIGABRT + 1) #define NSIG (SIGABRT + 1)
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*__sighandler_t)(int); typedef void (*__sighandler_t)(int);
#define SIG_DFL ((__sighandler_t)0) #define SIG_DFL ((__sighandler_t)0)
@ -42,4 +46,8 @@ typedef void (*__sighandler_t)(int);
__sighandler_t signal(int sig, __sighandler_t func); __sighandler_t signal(int sig, __sighandler_t func);
int raise(int sig); int raise(int sig);
#ifdef __cplusplus
}
#endif
#endif /* _WINE_SIGNAL_H */ #endif /* _WINE_SIGNAL_H */