summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-12-29 10:01:09 +0100
committerJulien Nabet <serval2412@yahoo.fr>2014-12-29 10:01:09 +0100
commit5f2cfd1beed6466715b7a1ed6a22b93cc250c79b (patch)
tree1cafbcaf69f5fe46d58db2bc060c4acf5463c784 /sal
parent0c24686c3970bac7e9a4e214fccfdfffd742149e (diff)
"NOMINMAX" is not used [-Werror=unused-macros]
So let's let this for Windows only Change-Id: I1f76e03b0e3431a6954a75f5cb247ef1a1644a28
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/bootstrap.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index 0d8613184949..0ddeb5f625c5 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -16,8 +16,9 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
+#ifdef WINNT
#define NOMINMAX
+#endif
#include <config_features.h>
#include <config_folders.h>