Commit 7d39c97e authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

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

parent c5bedbf6
...@@ -77,6 +77,10 @@ typedef struct _CrtMemState ...@@ -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); ...@@ -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)
......
...@@ -33,6 +33,10 @@ ...@@ -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); ...@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment