dpnet: Forward declare IDirectPlay8Address when you include dpaddr.h (try 2)

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Apr 29 22:22:52 CDT 2014


Hi,
Change struct to interface, hopefully it will compile on the MAC this 
time.

Changelog:
     dpnet: Forward declare IDirectPlay8Address when you include dpaddr.h


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From 3ee9813eebe099fbc054b061ee8821db3deb3d77 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu, 13 Feb 2014 14:57:57 +1100
Subject: [PATCH] Forward declare IDirectPlay8Address when you include dpaddr.h
To: wine-patches <wine-patches at winehq.org>

---
 include/dplay8.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/dplay8.h b/include/dplay8.h
index 13bdfb0..0e0a70a 100644
--- a/include/dplay8.h
+++ b/include/dplay8.h
@@ -26,6 +26,8 @@
 extern "C" {
 #endif /* defined(__cplusplus) */
 
+/* Forward declare */
+typedef interface IDirectPlay8Address IDirectPlay8Address;
 
 typedef HRESULT (WINAPI *PFNDPNMESSAGEHANDLER)(PVOID, DWORD, PVOID);
 typedef DWORD	DPNID, *PDPNID;
-- 
1.9.1



More information about the wine-patches mailing list