Committing Ned Harding's patches for building on win32.

This commit is contained in:
Robert Carlsen
2009-04-08 07:12:24 +00:00
parent 93b5007746
commit c9a641ea61
4 changed files with 100 additions and 66 deletions

View File

@@ -47,12 +47,20 @@
#include "MetricAggregator.h"
#include "SplitRideDialog.h"
/* temp for the qmake/QMAKE_CXXFLAGS bug with xcode */
#ifndef GC_SVN_VERSION
#define GC_SVN_VERSION "0"
#ifdef WIN32
#include "temp_version.h"
#define GC_SVN_VERSION g_svnversion
#define GC_BUILD_DATE g_builddate
#else
/* temp for the qmake/QMAKE_CXXFLAGS bug with xcode */
#ifndef GC_SVN_VERSION
#define GC_SVN_VERSION "0"
#endif
#ifndef GC_BUILD_DATE
#define GC_BUILD_DATE GC_SVN_VERSION
#endif
#ifndef GC_BUILD_DATE
#define GC_BUILD_DATE GC_SVN_VERSION
#endif
#define FOLDER_TYPE 0