QTfrontend/hwconsts.cpp.in
branchflibqtfrontend
changeset 8139 5c38fe3afce4
parent 8090 38d9cc60b14c
child 8363 0b4ac686fc44
--- a/QTfrontend/hwconsts.cpp.in	Fri Nov 30 11:40:37 2012 +0400
+++ b/QTfrontend/hwconsts.cpp.in	Fri Nov 30 12:12:49 2012 +0400
@@ -19,6 +19,7 @@
 #include <QStandardItemModel>
 
 #include "hwconsts.h"
+#include "frontlib.h"
 
 QString * cProtoVer = new QString("${HEDGEWARS_PROTO_VER}");
 QString * cDataDir = new QString("${HEDGEWARS_DATADIR}");
@@ -62,7 +63,11 @@
             AMMOLINE_PORTALS_DELAY AMMOLINE_PORTALS_CRATE ))
         ;
 
-unsigned int colors[] = HW_TEAMCOLOR_ARRAY;
+#ifndef UINT32_C
+#define UINT32_C
+#endif
+
+quint32 colors[] = HW_TEAMCOLOR_ARRAY;
 
 QString * netHost = new QString();
 quint16 netPort = NETGAME_DEFAULT_PORT;