view kdiff3/src/version.c @ 24:7cbcebe2b3e8

ProgressDialog::show(): show only if not visible.
author joachim99
date Sat, 11 Oct 2003 12:38:58 +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);
  }
}