diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-28 00:31:48 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:26 +0200 |
commit | 19fec985e98707cebf11c3fce2531df1c2a666dd (patch) | |
tree | 2b4a709d41be83e3bd60600734b75094794c22fe /desktop | |
parent | bb67212a05de212baece36b6875468d575340684 (diff) |
fix more platform define checks
Change-Id: I2e125770fc6c21141c45ccc057d95fada8ccf74c
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/updater.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index 183ad8d9c8ae..0ca03bc9de9e 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -40,9 +40,9 @@ class error_updater : public std::exception static const char kUserAgent[] = "UpdateChecker/1.0 (Linux)"; -#if UNX +#ifdef UNX const char* pUpdaterName = "updater"; -#elif WNT +#elif defined(WNT) const char* pUpdaterName = "updater.exe"; #else #error "Need implementation" |