Skip to content
Snippets Groups Projects
Commit f8b11f32 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now uses the __version efun if it exists.

Rev: lib/master.pike:1.18
parent fc23e429
No related branches found
No related tags found
No related merge requests found
#if efun(__version)
#define VERSION __version()
#else
#define VERSION "Pike v0.4pl2"
#endif /* __version */
string describe_backtrace(mixed *trace);
......@@ -208,7 +212,7 @@ void _main(string *argv, string *env)
switch(opts[0])
{
case "version":
werror(VERSION " Copyright (C) 1994-1997 Fredrik Hübinette\n");
werror(VERSION + " Copyright (C) 1994-1997 Fredrik Hübinette\n");
werror("Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are\n");
werror("welcome to redistribute it under certain conditions; Read the files\n");
werror("COPYING and DISCLAIMER in the Pike distribution for more details.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment