From bf3ff35d8c96315c35cf8dc8495be4b488b55cb6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 30 Aug 2011 10:47:54 +0300 Subject: Adapt for MinGW cross-builds Adapt some of the DLL names to match conventions we currently use in a MinGW build. If those are changed to be exactly like when built with MSVC (for SDK ABI stability reasons), will have to change here, too. Bypass stuff that we can't build with MinGW when necessary. Should be synchronized with the corresponding makefiles, obviously. We can't currently build the Explorer extension or MSI installer custom actions with MinGW due to lack of some required headers and/or import libraries. --- scp2/inc/macros.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scp2/inc') diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc index 5efd89665601..2c20cb096484 100755 --- a/scp2/inc/macros.inc +++ b/scp2/inc/macros.inc @@ -489,6 +489,8 @@ End // --------------------------------------- +#ifdef _MSC_VER + #define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) \ RegistryItem CONCAT2(gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_,extension) \ ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; \ @@ -500,6 +502,10 @@ End Val64 = "{AE424E85-F6DF-4910-A6A9-438797986431}"; \ End +#else +#define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) // empty +#endif + // --------------------------------------- #if defined WNT -- cgit