]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
In order to avoid release version strings in non-git builds, by default --version...
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index e4a800abcde9683b08402c1c9ff941846f8632d1..1f0e066815a06655587e2240b10c320cabcf45b8 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -45,6 +45,8 @@
 #define GMQCC_VERSION_BUILD(J,N,P) (((J)<<16)|((N)<<8)|(P))
 #define GMQCC_VERSION \
     GMQCC_VERSION_BUILD(GMQCC_VERSION_MAJOR, GMQCC_VERSION_MINOR, GMQCC_VERSION_PATCH)
+/* Undefine the following on a release-tag: */
+#define GMQCC_VERSION_TYPE_DEVEL
 
 /*
  * We cannot rely on C99 at all, since compilers like MSVC