QTfrontend/xfire.cpp
changeset 6573 632fa142c2cf
parent 4976 088d40d8aba2
child 6700 e04da46ee43c
--- 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