diff --git a/src/tomahawk/Config.h.in b/src/tomahawk/Config.h.in
index 8a1a349bf..5a9311940 100644
--- a/src/tomahawk/Config.h.in
+++ b/src/tomahawk/Config.h.in
@@ -15,7 +15,7 @@
 
 #cmakedefine WITH_CRASHREPORTER
 #cmakedefine WITH_BINARY_ATTICA
-#cmakedefine WITH_QTSPARKLE
+#cmakedefine WITH_QtSparkle
 #cmakedefine WITH_UPOWER
 #cmakedefine WITH_GNOMESHORTCUTHANDLER
 
diff --git a/src/tomahawk/TomahawkWindow.cpp b/src/tomahawk/TomahawkWindow.cpp
index 9c2f29cf3..c6e404261 100644
--- a/src/tomahawk/TomahawkWindow.cpp
+++ b/src/tomahawk/TomahawkWindow.cpp
@@ -87,7 +87,7 @@
 #include "config.h"
 
 #if defined( Q_OS_WIN )
-    #if defined ( WITH_QTSPARKLE )
+    #if defined ( WITH_QtSparkle )
         #include <qtsparkle/Updater>
     #endif
     #include <shellapi.h>
@@ -517,7 +517,7 @@ TomahawkWindow::setupUpdateCheck()
 #if defined( Q_OS_MAC ) && defined( HAVE_SPARKLE )
     connect( ActionCollection::instance()->getAction( "checkForUpdates" ), SIGNAL( triggered( bool ) ),
              SLOT( checkForUpdates() ) );
-    #elif defined( Q_OS_WIN ) && defined( WITH_QTSPARKLE )
+    #elif defined( Q_OS_WIN ) && defined( WITH_QtSparkle )
     QUrl updaterUrl;
 
     if ( qApp->arguments().contains( "--debug" ) )