mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:31:56 +00:00
[JSPROXY] Sync with Wine Staging 3.3. CORE-14434
This commit is contained in:
parent
e68a367aa6
commit
7d1b509fa0
2 changed files with 23 additions and 29 deletions
|
@ -16,25 +16,11 @@
|
|||
* 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
|
||||
|
@ -51,9 +40,24 @@
|
|||
# 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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue