summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-30 20:44:45 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-04-08 16:29:46 +0200
commit0e493346b8ca9842946343ef43af1fbe2fd85fce (patch)
tree40361bcfb687af76a919b51a90305ba4c7e8cb5e /src/main.h
parentdc99410902b9eade9e408389e49f09d5163b6caf (diff)
downloadmana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.gz
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.bz2
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.tar.xz
mana-0e493346b8ca9842946343ef43af1fbe2fd85fce.zip
Resolved issues with winver.h
The configured file wasn't actually being used, because it was not in the include path. Instead, a checked in version was used. In addition, winver.h is an existing Windows header, which was conflicting with the generated file. Instead, now mana.rc itself is configured. We didn't actually need winver.h anywhere else, anyway.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.h b/src/main.h
index 5a663646..b0917e2a 100644
--- a/src/main.h
+++ b/src/main.h
@@ -50,14 +50,6 @@
* different interfaces, which have different implementations for each server.
*/
-#ifdef HAVE_CONFIG_H
-#include "../config.h"
-#elif defined _WIN32
-#include "winver.h"
-#elif defined __APPLE__
-#define PACKAGE_VERSION "0.6.1"
-#endif
-
#ifdef PACKAGE_VERSION
#define FULL_VERSION "v" PACKAGE_VERSION
#else