| 148 | } |
| 149 | |
| 150 | const char* getAppVersion() { |
| 151 | static std::string appVersion = ""; |
| 152 | if (!appVersion.size()) { |
| 153 | std::ostringstream appVersionStream; |
| 154 | appVersionStream << getMajorMinorRevVersion() << "." << BZ_BUILD_DATE |
| 155 | << "-" << BZ_BUILD_TYPE << "-" << BZ_BUILD_OS; |
| 156 | #ifdef HAVE_SDL |
| 157 | appVersionStream << "-SDL"; |
| 158 | #endif |
| 159 | appVersion = appVersionStream.str(); |
| 160 | } |
| 161 | return appVersion.c_str(); |
| 162 | } |
| 163 | |
| 164 | std::string getOSString() { |
| 165 | std::string versionString = "unknown"; |
no test coverage detected