OSDN Git Service

Make <winver.h> header effectively self-contained.
authorKeith Marshall <keith@users.osdn.me>
Tue, 18 Dec 2018 21:24:43 +0000 (21:24 +0000)
committerKeith Marshall <keith@users.osdn.me>
Tue, 18 Dec 2018 21:24:43 +0000 (21:24 +0000)
w32api/ChangeLog
w32api/include/winver.h

index c197ea1..79e0a3d 100644 (file)
@@ -1,3 +1,9 @@
+2018-12-18  Keith Marshall  <keith@users.osdn.me>
+
+       Make <winver.h> header effectively self-contained.
+
+       * include/winver.h: Include <windef.h>
+
 2018-11-23  Keith Marshall  <keith@users.osdn.me>
 
        Fix MinGW-Bug #2248 (SF ticket).
index ead842d..853e91b 100644 (file)
@@ -7,7 +7,8 @@
  * $Id$
  *
  * Written by Anders Norlander <anorland@hem2.passagen.se>
- * Copyright (C) 1998, 1999, 2002, 2006, 2009, 2015, MinGW.org Project
+ * Copyright (C) 1998, 1999, 2002, 2006, 2009, 2012, 2015, 2016, 2018,
+ *   MinGW.org Project
  *
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
 #define VIF_BUFFTOOSMALL          0x40000
 
 #ifndef RC_INVOKED
+/* Additional type definitions and function declarations, which extend
+ * beyond the requirements of the resource compiler, may depend on the
+ * custom windows types defined in <windef.h>
+ */
+#include <windef.h>
 
 _BEGIN_C_DECLS