diff options
author | Lutz Bichler <Lutz.Bichler@bmw.de> | 2015-04-13 14:39:38 +0200 |
---|---|---|
committer | Lutz Bichler <Lutz.Bichler@bmw.de> | 2015-04-13 14:39:38 +0200 |
commit | fe6264e46124fa74e11a03aab5a1afc1a2447460 (patch) | |
tree | 80142499c23ed58795f9a5996b48b82ce57de6f6 | |
parent | f2e9b73c3291cbcf5efd1520737e19ec575eac85 (diff) | |
download | genivi-common-api-runtime-fe6264e46124fa74e11a03aab5a1afc1a2447460.tar.gz |
Some cosmetic changes to make the #ifdef WIN32 more readable.
-rw-r--r-- | include/CommonAPI/Logger.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/CommonAPI/Logger.hpp b/include/CommonAPI/Logger.hpp index db83cc6..f67d910 100644 --- a/include/CommonAPI/Logger.hpp +++ b/include/CommonAPI/Logger.hpp @@ -23,6 +23,7 @@ #endif #ifdef WIN32 + #define COMMONAPI_FATAL(...) \ do { Logger::log(Logger::Level::LL_FATAL, __VA_ARGS__); } while (false); @@ -60,7 +61,9 @@ #else #define COMMONAPI_VERBOSE(...) #endif -#else + +#else // !WIN32 + #define COMMONAPI_FATAL(params...) \ do { Logger::log(Logger::Level::LL_FATAL, params); } while (false); @@ -98,7 +101,9 @@ #else #define COMMONAPI_VERBOSE(params...) #endif -#endif + +#endif // WIN32 + namespace CommonAPI { class Logger { |