Mercurial Patch Queue for Windows System Libraries
Rev. | 637c26973ed73f73fa2f3c4e92278f04ca8bb7f7 |
---|---|
Tamanho | 793 bytes |
Hora | 2019-03-31 21:25:12 |
Autor | Keith Marshall |
Mensagem de Log | Initial commit. |
Make <mcx.h> header effectively self-contained.
diff --git a/w32api/include/mcx.h b/w32api/include/mcx.h
--- a/w32api/include/mcx.h
+++ b/w32api/include/mcx.h
@@ -1,14 +1,13 @@
#ifndef _MCX_H
#define _MCX_H
-#if __GNUC__ >=3
#pragma GCC system_header
-#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <windef.h>
+
+_BEGIN_C_DECLS
+
#define DIALOPTION_BILLING 64
#define DIALOPTION_QUIET 128
#define DIALOPTION_DIALTONE 256
#define MDMVOLFLAG_LOW 1
#define MDMVOLFLAG_MEDIUM 2
@@ -69,9 +68,9 @@ typedef struct _MODEMSETTINGS {
DWORD dwPreferredModemOptions;
DWORD dwNegotiatedModemOptions;
DWORD dwNegotiatedDCERate;
BYTE abVariablePortion[1];
} MODEMSETTINGS,*PMODEMSETTINGS,*LPMODEMSETTINGS;
-#ifdef __cplusplus
-}
-#endif
+
+_END_C_DECLS
+
#endif /* _MCX_H */