2024-09-13 09:06:44 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2024-09-13 15:09:52 +00:00
|
|
|
#define SOURCE
|
|
|
|
|
2024-09-13 09:06:44 +00:00
|
|
|
#include "tw_version.h"
|
|
|
|
|
2024-09-16 12:52:47 +00:00
|
|
|
const char* tw_version = "1.00";
|
2024-09-13 09:06:44 +00:00
|
|
|
|
2024-09-14 00:42:40 +00:00
|
|
|
const char* tw_platform =
|
|
|
|
#if defined(PLATFORM)
|
2024-09-14 15:14:49 +00:00
|
|
|
PLATFORMM
|
2024-09-14 00:42:40 +00:00
|
|
|
#elif defined(__NetBSD__)
|
|
|
|
"NetBSD"
|
2024-09-14 15:14:49 +00:00
|
|
|
#elif defined(__linux__)
|
|
|
|
"Linux"
|
2024-09-14 00:42:40 +00:00
|
|
|
#elif defined(__MINGW32__)
|
|
|
|
"Windows"
|
|
|
|
#else
|
|
|
|
"Unix"
|
|
|
|
#endif
|
|
|
|
;
|
|
|
|
|
2024-09-13 09:06:44 +00:00
|
|
|
const char* tw_get_version(void) { return tw_version; }
|
2024-09-14 00:42:40 +00:00
|
|
|
const char* tw_get_platform(void) { return tw_platform; }
|