Mercurial > hg > easyhg-kdiff3
view kdiff3/src/version.c @ 45:42106f54567f
Addition of the source code in the windows distribution
Addition of an optional debug distribution
author | friseb123 |
---|---|
date | Thu, 16 Oct 2003 11:41:04 +0000 |
parents | b6a7e96a4f2c |
children |
line wrap: on
line source
#include <stdio.h> #include "version.h" main(int argv,char** argc) { if (argv<=1) { printf("%s\n",VERSION); } else if (strcmp(argc[1],"dos")==0) { printf("set MUI_VERSION=\"%s\"\n",VERSION); } else if (strcmp(argc[1],"nsis")==0) { printf("!define MUI_VERSION \"%s\"\n",VERSION); } else if (strcmp(argc[1],"unix")==0) { printf("#define MUI_VERSION=\"%s\"\n",VERSION); } }