55 #endif // RELEASE |
55 #endif // RELEASE |
56 |
56 |
57 void doDevf (const char* func, const char* fmtstr, ...); |
57 void doDevf (const char* func, const char* fmtstr, ...); |
58 |
58 |
59 // Version string identifier |
59 // Version string identifier |
60 #if VERSION_PATCH > 0 |
60 str versionString (); |
61 static const str versionString = fmt ("%d.%d.%d", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH); |
61 const char* versionMoniker (); |
62 #else |
62 str fullVersionString (); |
63 static const str versionString = fmt ("%d.%d", VERSION_MAJOR, VERSION_MINOR); |
|
64 #endif // VERSION_PATCH |
|
65 |
63 |
66 #ifdef __GNUC__ |
64 #ifdef __GNUC__ |
67 # define FORMAT_PRINTF(M,N) __attribute__ ((format (printf, M, N))) |
65 # define FORMAT_PRINTF(M,N) __attribute__ ((format (printf, M, N))) |
68 # define ATTR(N) __attribute__ ((N)) |
66 # define ATTR(N) __attribute__ ((N)) |
69 #else |
67 #else |