summaryrefslogtreecommitdiff
path: root/include/sal/config.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-16 11:29:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-16 11:31:24 +0100
commit234e45bf1d27484b72e73fe327b1e92fda1933f1 (patch)
treebd0451c8959ddc3043a1eeb528739ab00b33cb47 /include/sal/config.h
parent82276525ada3112d566d0fbf1859788b7867af0e (diff)
Revert "never wonder if sun is not sun"
This reverts commit 06a5b619a76c96783ee67bdcfd21f203d3ddb53c, which broke Solaris/Illumos builds for no good reason, cf. mail thread starting at <http://lists.freedesktop.org/archives/libreoffice/2015-January/065844.html> "4.4.0.1 build error on sal/types.h on solaris/illumos." Conflicts: include/sal/config.h Change-Id: I063453ee1115ae3f97e2835828800c74e3cb5e48
Diffstat (limited to 'include/sal/config.h')
-rw-r--r--include/sal/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sal/config.h b/include/sal/config.h
index 93a4898b0202..c45936581a70 100644
--- a/include/sal/config.h
+++ b/include/sal/config.h
@@ -86,6 +86,11 @@
#define SAL_CONFIGFILE( name ) name "rc"
#endif
+#ifdef sun
+#undef sun
+#define sun sun
+#endif
+
#if defined __clang__
#if __has_warning("-Wpotentially-evaluated-expression")
#pragma GCC diagnostic ignored "-Wpotentially-evaluated-expression"