[JSPROXY] Sync with Wine Staging 3.3. CORE-14434
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 Mar 2018 12:13:02 +0000 (13:13 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 Mar 2018 12:13:02 +0000 (13:13 +0100)
dll/win32/jsproxy/main.c
media/doc/README.WINE

index 9a3a196..e6a35d5 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include <wine/config.h>
-
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-#include <oleauto.h>
-#include <dispex.h>
-#include <activscp.h>
-#include <wininet.h>
-
-#include <wine/debug.h>
-#include <wine/unicode.h>
+#include "config.h"
+#include "wine/port.h"
 
+#include <stdarg.h>
+#include <sys/types.h>
 #ifdef HAVE_SYS_SOCKET_H
 # include <sys/socket.h>
 #endif
@@ -44,6 +30,9 @@
 #ifdef HAVE_NETDB_H
 # include <netdb.h>
 #endif
+#ifdef __REACTOS__
+#define COBJMACROS
+#endif
 #if defined(__MINGW32__) || defined (_MSC_VER)
 # include <ws2tcpip.h>
 #else
 # define ioctlsocket ioctl
 #endif
 
+#include "windef.h"
+#include "winbase.h"
 #ifndef __MINGW32__
 #define USE_WS_PREFIX
 #endif
+#include "winsock2.h"
+#include "ws2ipdef.h"
+#include "winnls.h"
+#include "wininet.h"
+#ifndef __REACTOS__
+#define COBJMACROS
+#endif
+#include "ole2.h"
+#include "dispex.h"
+#include "activscp.h"
+#include "wine/debug.h"
+#include "wine/heap.h"
+#include "wine/unicode.h"
 
 static HINSTANCE instance;
 
@@ -89,16 +93,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
     return TRUE;
 }
 
-static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
-{
-    return HeapAlloc(GetProcessHeap(), 0, size);
-}
-
-static inline BOOL heap_free(void *mem)
-{
-    return HeapFree(GetProcessHeap(), 0, mem);
-}
-
 static inline WCHAR *strdupAW( const char *src, int len )
 {
     WCHAR *dst = NULL;
index bd747fa..4c50bcf 100644 (file)
@@ -86,7 +86,7 @@ reactos/dll/win32/iphlpapi            # Out of sync
 reactos/dll/win32/itircl              # Synced to WineStaging-3.3
 reactos/dll/win32/itss                # Synced to WineStaging-3.3
 reactos/dll/win32/jscript             # Synced to WineStaging-3.3
-reactos/dll/win32/jsproxy             # Synced to WineStaging-2.16
+reactos/dll/win32/jsproxy             # Synced to WineStaging-3.3
 reactos/dll/win32/loadperf            # Synced to WineStaging-2.9
 reactos/dll/win32/lz32                # Synced to WineStaging-2.9
 reactos/dll/win32/mapi32              # Synced to WineStaging-2.16