summary refs log tree commit diff stats
path: root/src/version/version.c
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-06-15 21:37:48 +0200
committerBerke Viktor <berkeviktor@aol.com>2012-06-15 21:37:48 +0200
commit593efa703b6914f963533da513576a26e744ead9 (patch)
tree3b164a0716b4b58f627ea56a7722c41fa6745c8f /src/version/version.c
parentbf37bd37556fbf20dfa1a6b40c56453eb1fe8d01 (diff)
LOTS of fixes to the VS solution
Diffstat (limited to 'src/version/version.c')
-rw-r--r--src/version/version.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/version/version.c b/src/version/version.c
index 14312a43..53af5675 100644
--- a/src/version/version.c
+++ b/src/version/version.c
@@ -76,13 +76,13 @@ main (int argc, char *argv[])
 		{
 			printf ("#define COMMA_VERSION %s\n", comma ());
 		}
-		else if (!strcmp (argv[1], "-a32"))	/* xchat-wdk.iss/AppVerName */
-		{
-			printf ("AppVerName=XChat-WDK %s (x86)\n", PACKAGE_VERSION);
-		}
-		else if (!strcmp (argv[1], "-a64"))	/* xchat-wdk.iss/AppVerName */
+		else if (!strcmp (argv[1], "-a"))	/* xchat-wdk.iss/AppVerName */
 		{
+#ifdef _WIN64
 			printf ("AppVerName=XChat-WDK %s (x64)\n", PACKAGE_VERSION);
+#else
+			printf ("AppVerName=XChat-WDK %s (x86)\n", PACKAGE_VERSION);
+#endif
 		}
 		else if (!strcmp (argv[1], "-v"))	/* xchat-wdk.iss/AppVersion */
 		{
@@ -92,13 +92,13 @@ main (int argc, char *argv[])
 		{
 			printf ("VersionInfoVersion=%s\n", point ());
 		}
-		else if (!strcmp (argv[1], "-o32"))	/* xchat-wdk.iss/OutputBaseFilename */
-		{
-			printf ("OutputBaseFilename=XChat-WDK %s x86\n", PACKAGE_VERSION);
-		}
-		else if (!strcmp (argv[1], "-o64"))	/* xchat-wdk.iss/OutputBaseFilename */
+		else if (!strcmp (argv[1], "-o"))	/* xchat-wdk.iss/OutputBaseFilename */
 		{
+#ifdef _WIN64
 			printf ("OutputBaseFilename=XChat-WDK %s x64\n", PACKAGE_VERSION);
+#else
+			printf ("OutputBaseFilename=XChat-WDK %s x86\n", PACKAGE_VERSION);
+#endif
 		}
 		else if (!strcmp (argv[1], "-v"))	/* version.txt */
 		{