Print version info only one time

This commit is contained in:
MelwareDE 2010-06-11 11:16:41 +00:00
parent 6197ed537d
commit f129c0813d
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@ void diva_runtime_binary_message (const void* data, unsigned long length);
#define DBG_TRC(__x__) do { diva_runtime_trace_message __x__; } while (0); #define DBG_TRC(__x__) do { diva_runtime_trace_message __x__; } while (0);
#define DBG_BLK(__x__) do { diva_runtime_binary_message __x__; } while (0); #define DBG_BLK(__x__) do { diva_runtime_binary_message __x__; } while (0);
#define dbg_init(__a__, __b__, __c__) do { diva_runtime_log_message("%s %s %u", __a__, __b__, __c__); } while (0) #define dbg_init(__a__, __b__, __c__) do { static int initialized; if (initialized == 0) { initialized = 1; diva_runtime_log_message("%s %s %u", __a__, __b__, __c__); } } while (0)
#endif #endif