[hatari-devel] Hatari version string?
Eero Tamminen
eerot at users.berlios.de
Thu Mar 4 20:12:15 CET 2010
Hi,
I wonder whether there should be a single global variable
for Hatari version. If one happens to compile different parts
of Hatari at different times, one gets different dates from
different places using the current define:
----------
$ grep PROG_NAME *.c */*.c
avi_record.c: Len = snprintf ( InfoString , sizeof ( InfoString ) , "%s -
the Atari ST, STE, TT and Falcon emulator" , PROG_NAME ) + 1;
main.c: Log_Printf(LOG_INFO, PROG_NAME ", compiled on: " __DATE__ ", "
__TIME__ "\n");
options.c: printf("\n" PROG_NAME
screen.c: SDL_WM_SetCaption(PROG_NAME, "Hatari");
gui-sdl/dlgAbout.c: { SGTEXT, 0, 0, 13,1, 12,1, PROG_NAME },
includes/main.h:#define PROG_NAME "Hatari devel (" __DATE__ ")"
includes/main.h://#define PROG_NAME "Hatari v1.3.1"
----------
- Eero
More information about the hatari-devel
mailing list