summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
commit3c404128c4669a1f4f190e20a89553677717fc50 (patch)
tree2db4e5031089c800c4e00fd6244e578f44a7c910 /src/main.h
parent89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff)
downloadmv-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz
mv-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2
mv-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz
mv-3c404128c4669a1f4f190e20a89553677717fc50.zip
Add missing comments into defines.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/main.h b/src/main.h
index b3500fd98..d30dcf238 100644
--- a/src/main.h
+++ b/src/main.h
@@ -52,12 +52,12 @@
#include "../config.h"
#elif defined WIN32
#include "winver.h"
-#else
+#else // HAVE_CONFIG_H
#ifdef PACKAGE_VERSION
#undef PACKAGE_VERSION
-#endif
+#endif // PACKAGE_VERSION
#define PACKAGE_VERSION SMALL_VERSION;
-#endif
+#endif // HAVE_CONFIG_H
#if defined __APPLE__
#define PACKAGE_OS "Mac OS X"
@@ -128,9 +128,9 @@
#define PACKAGE_OS "Windows"
#elif defined __native_client__
#define PACKAGE_OS "nacl"
-#else
+#else // OTHER
#define PACKAGE_OS "Other"
-#endif
+#endif // defined __APPLE__
// define DEBUG_LEAKS 1
// define DEBUG_CONFIG 1
@@ -141,16 +141,16 @@
#ifdef USE_SDL2
#define SDL_NAME "SDL2"
-#else
+#else // USE_SDL2
#define SDL_NAME "SDL1.2"
-#endif
-#if defined(ENABLE_PUGIXML)
+#endif // USE_SDL2
+#if defined(ENABLE_PUGIXML)
#define XML_NAME "pugixml"
#elif defined(ENABLE_LIBXML)
#define XML_NAME "libxml2"
-#else
+#else // defined(ENABLE_PUGIXML)
#define XML_NAME "unknown"
-#endif
+#endif // defined(ENABLE_PUGIXML)
#define PACKAGE_EXTENDED_VERSION "ManaPlus (" PACKAGE_OS \
"; %s; " SDL_NAME ", " XML_NAME "; 4144 v" SMALL_VERSION ")"
@@ -162,15 +162,15 @@
#ifdef ANDROID
#ifdef PKG_DATADIR
#undef PKG_DATADIR
-#endif
+#endif // PKG_DATADIR
#ifdef LOCALEDIR
#undef LOCALEDIR
-#endif
+#endif // LOCALEDIR
#define LOCALEDIR "locale"
-#endif
+#endif // ANDROID
#ifndef PKG_DATADIR
#define PKG_DATADIR ""
-#endif
+#endif // PKG_DATADIR
#endif // MAIN_H