summaryrefslogtreecommitdiff
path: root/scp2/inc/macros.inc
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-08-30 10:47:54 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-08-30 11:13:34 +0300
commitbf3ff35d8c96315c35cf8dc8495be4b488b55cb6 (patch)
treeae5d32822c3c75a84848389c41ec98be65db447e /scp2/inc/macros.inc
parentbf6c17c7f3fb97b0bd941e93e739dfa3db5eaab6 (diff)
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.
Diffstat (limited to 'scp2/inc/macros.inc')
-rwxr-xr-xscp2/inc/macros.inc6
1 files changed, 6 insertions, 0 deletions
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