small tweak for compiling with xfire and qt under windows
authorbovi
Sun, 15 Jan 2012 23:14:10 +0100
changeset 6573 632fa142c2cf
parent 6572 0d0af531c1c7
child 6574 ec059b55aa72
small tweak for compiling with xfire and qt under windows
QTfrontend/xfire.cpp
--- a/QTfrontend/xfire.cpp	Sun Jan 15 22:57:49 2012 +0100
+++ b/QTfrontend/xfire.cpp	Sun Jan 15 23:14:10 2012 +0100
@@ -23,6 +23,7 @@
 #include "xfire.h"
 #include "../misc/xfire/xfiregameclient.h"
 
+#ifdef USE_XFIRE
 // use_xfire: stores if xfire is loaded and functions should do something at all
 bool use_xfire = false;
 char *keys[XFIRE_KEY_COUNT];
@@ -81,3 +82,4 @@
         return;
     XfireSetCustomGameDataA(XFIRE_KEY_COUNT, (const char**)keys, (const char**)values);
 }
+#endif // USE_XFIRE