[QCKLNCH] Fix gcc build
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 16 Oct 2017 15:15:20 +0000 (18:15 +0300)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 16 Oct 2017 15:15:20 +0000 (18:15 +0300)
dll/shellext/qcklnch/CMakeLists.txt
dll/shellext/qcklnch/CQuickLaunchBand.cpp

index bcc9218..29b7ac8 100644 (file)
@@ -8,6 +8,9 @@ if(NOT MSVC)
     add_compile_flags_language("-std=c++11" "CXX")
 endif()
 
+add_definitions(
+    -D_ATL_NO_EXCEPTIONS)
+
 include_directories(
     ${REACTOS_SOURCE_DIR}/sdk/lib/atl
     ${REACTOS_SOURCE_DIR})
index d250a3c..487fb97 100644 (file)
@@ -11,7 +11,7 @@
 WINE_DEFAULT_DEBUG_CHANNEL(qcklnch);
 
 // {260CB95D-4544-44F6-A079-575BAA60B72F}
-static const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0x57, 0x5b, 0xaa, 0x60, 0xb7, 0x2f } };
+const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0x57, 0x5b, 0xaa, 0x60, 0xb7, 0x2f } };
 
 // Componenet Category Registration
     HRESULT RegisterComCat()