OSDN Git Service

Resolve [#2085], [#2086] and [#2087].
authorEarnie Boyd <earnie@users.sourceforge.net>
Sun, 6 Oct 2013 15:27:06 +0000 (11:27 -0400)
committerEarnie Boyd <earnie@users.sourceforge.net>
Sun, 6 Oct 2013 15:27:06 +0000 (11:27 -0400)
ChangeLog
include/oaidl.h
include/objidl.h
include/unknwn.h

index ca6c759..482c485 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 RELEASE 4.1:
 
+2013-10-06  Earnie Boyd  <earnie@users.sourceforge.net>
+       
+       * include/oaidl.h: Include objidl.h.
+       Move the RPC headers before the file protection.
+       [#2085] oaidl.h needs objidl.h for IUknown structure.
+
+       * include/objidl.h: Include unknwn.h.
+       [#2086] objidl.h should include unknwn.h.
+
+       * include/unknwn.h: Move the RPC headers before the file protection.
+       [#2087] unknwn.h needs to include RPC headers before file filter.
+
 2013-10-02  Earnie Boyd  <earnie@users.sourceforge.net>
 
        [#2081] Neeed a __FORCEINLINE macro for better definition.
index 9e8ea99..6e220ad 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
-#ifndef _OAIDL_H
-#define _OAIDL_H
-#pragma GCC system_header
-#include <_mingw.h>
+#include <rpc.h>
+#include <rpcndr.h>
 
 #ifndef COM_NO_WINDOWS_H
 #include <windows.h>
 #include <ole2.h>
 #endif
 
+#ifndef _OAIDL_H
+#define _OAIDL_H
+#pragma GCC system_header
+#include <_mingw.h>
+
+#include <objidl.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 86d6087..3b3a414 100644 (file)
@@ -27,6 +27,7 @@
 #include <_mingw.h>
 
 #include <objfwd.h>
+#include <unknwn.h>
 
 #define PIDSI_TITLE            0x00000002
 #define PIDSI_SUBJECT          0x00000003
index 16a3546..ffc5138 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
-#ifndef _UNKNWN_H
-#define _UNKNWN_H
-#pragma GCC system_header
-#include <_mingw.h>
-
 #include <rpc.h>
 #include <rpcndr.h>
 
 #include <ole2.h>
 #endif
 
+#ifndef _UNKNWN_H
+#define _UNKNWN_H
+#pragma GCC system_header
+#include <_mingw.h>
+
 #ifdef __cplusplus
 extern "C"{
 #endif