[SXS] Sync with Wine Staging 3.3. CORE-14434
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 23 Mar 2018 11:30:21 +0000 (12:30 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 23 Mar 2018 11:30:21 +0000 (12:30 +0100)
dll/win32/sxs/CMakeLists.txt
dll/win32/sxs/cache.c
dll/win32/sxs/name.c
dll/win32/sxs/precomp.h [new file with mode: 0644]
dll/win32/sxs/sxs.c
dll/win32/sxs/sxs_private.h
media/doc/README.WINE

index 9e44e72..79d166e 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     cache.c
     name.c
     sxs.c
-    sxs_private.h
+    precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c)
 
 add_library(sxs SHARED
@@ -18,5 +18,5 @@ add_library(sxs SHARED
 set_module_type(sxs win32dll)
 target_link_libraries(sxs wine)
 add_importlibs(sxs oleaut32 ole32 msvcrt kernel32 ntdll)
-add_pch(sxs sxs_private.h SOURCE)
+add_pch(sxs precomp.h SOURCE)
 add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)
index 7896e27..791a6ed 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "sxs_private.h"
+#include <stdarg.h>
+
+#define COBJMACROS
+#define INITGUID
 
-#include <oleauto.h>
-#include <msxml2.h>
+#include "windef.h"
+#include "winbase.h"
+#include "ole2.h"
+#include "winsxs.h"
+#include "msxml2.h"
+
+#include "wine/debug.h"
+#include "wine/list.h"
+#include "wine/unicode.h"
+#include "sxs_private.h"
 
-#include <wine/list.h>
+WINE_DEFAULT_DEBUG_CHANNEL(sxs);
 
 static const WCHAR cache_mutex_nameW[] =
     {'_','_','W','I','N','E','_','S','X','S','_','C','A','C','H','E','_','M','U','T','E','X','_','_',0};
index 5e50821..74aece2 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <stdarg.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "ole2.h"
+#include "winsxs.h"
+
+#include "wine/debug.h"
+#include "wine/unicode.h"
 #include "sxs_private.h"
 
+WINE_DEFAULT_DEBUG_CHANNEL(sxs);
+
 struct name
 {
     IAssemblyName IAssemblyName_iface;
diff --git a/dll/win32/sxs/precomp.h b/dll/win32/sxs/precomp.h
new file mode 100644 (file)
index 0000000..52a823b
--- /dev/null
@@ -0,0 +1,23 @@
+
+#ifndef _SXS_PRECOMP_H_
+#define _SXS_PRECOMP_H_
+
+#include <stdarg.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 <winsxs.h>
+
+#include <wine/debug.h>
+#include <wine/unicode.h>
+
+#include "sxs_private.h"
+
+#endif /* !_SXS_PRECOMP_H_ */
index f5aab4c..06e6672 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "sxs_private.h"
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
 
 /***********************************************************************
  *             DllMain   (SXS.@)
index de46251..1ceab26 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#ifndef _SXS_PRIVATE_H_
-#define _SXS_PRIVATE_H_
-
-#include <stdarg.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 <winsxs.h>
-
-#include <wine/debug.h>
-#include <wine/unicode.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(sxs);
+#pragma once
 
 enum name_attr_id
 {
@@ -57,5 +38,3 @@ static inline WCHAR *strdupW( const WCHAR *src )
     if (dst) strcpyW( dst, src );
     return dst;
 }
-
-#endif /* _SXS_PRIVATE_H_ */
index d0c2a42..f0786bd 100644 (file)
@@ -181,7 +181,7 @@ reactos/dll/win32/softpub             # Synced to WineStaging-2.9
 reactos/dll/win32/stdole2.tlb         # Synced to WineStaging-3.3
 reactos/dll/win32/stdole32.tlb        # Synced to WineStaging-3.3
 reactos/dll/win32/sti                 # Synced to WineStaging-3.3
-reactos/dll/win32/sxs                 # Synced to WineStaging-2.16
+reactos/dll/win32/sxs                 # Synced to WineStaging-3.3
 reactos/dll/win32/t2embed             # Synced to WineStaging-2.9
 reactos/dll/win32/tapi32              # Synced to WineStaging-2.9
 reactos/dll/win32/traffic             # Synced to WineStaging-2.9