OSDN Git Service

Make <winreg.h> header effectively self-contained.
authorKeith Marshall <keith@users.osdn.me>
Wed, 20 Dec 2017 23:26:30 +0000 (23:26 +0000)
committerKeith Marshall <keith@users.osdn.me>
Wed, 20 Dec 2017 23:26:30 +0000 (23:26 +0000)
w32api/ChangeLog
w32api/include/winreg.h

index e7d8715..eefa43d 100644 (file)
@@ -1,5 +1,13 @@
 2017-12-20  Keith Marshall  <keith@users.osdn.me>
 
+       Make <winreg.h> header effectively self-contained.
+
+       * include/winreg.h: Include <winbase.h>, thus achieving effective
+       self-containment; since this also indirectly includes <_mingw.h>,
+       there is no longer any need to include it directly.
+
+2017-12-20  Keith Marshall  <keith@users.osdn.me>
+
        Clean up, following issue [#2262] patch application.
 
        * include/winreg.h: Tidy layout; correct copyright assertion.
index cbdb8de..b370d8b 100644 (file)
@@ -34,7 +34,7 @@
 #pragma GCC system_header
 #define _WINREG_H
 
-#include <_mingw.h>
+#include <winbase.h>
 #include <reason.h>
 
 #ifndef WINADVAPI