summaryrefslogtreecommitdiff
path: root/src/Config.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-02-01 21:20:27 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-02-01 21:20:27 (GMT)
commitf86091d421989ead46940cc12b77e48cfb127608 (patch)
tree978f64c6ab2e90789e73ab3af52f9528429fe8a0 /src/Config.h
parent038da72c61ea6a251d805e2de3662f240da52b02 (diff)
downloadpowder-f86091d421989ead46940cc12b77e48cfb127608.zip
powder-f86091d421989ead46940cc12b77e48cfb127608.tar.gz
Use useragent for version, fix URl encoding
Diffstat (limited to 'src/Config.h')
-rw-r--r--src/Config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Config.h b/src/Config.h
index 37a1a65..1f00e62 100644
--- a/src/Config.h
+++ b/src/Config.h
@@ -22,6 +22,24 @@
#define BUILD_NUM 133
//VersionInfoEnd
+#ifdef BETA
+#define IDENT_RELTYPE "B"
+#else
+#define IDENT_RELTYPE "S"
+#endif
+
+#ifdef WIN32
+#define IDENT_PLATFORM "WIN32"
+#elif defined(MACOSX)
+#define IDENT_PLATFORM "MACOSX"
+#elif defined(LIN32)
+#define IDENT_PLATFORM "LIN32"
+#elif defined(LIN64)
+#define IDENT_PLATFORM "LIN64"
+#else
+#define IDENT_PLATFORM "UNKNOWN"
+#endif
+
#define IDENT_VERSION "G" //Change this if you're not Simon! It should be a single letter
#define MTOS_EXPAND(str) #str