summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2002-08-27 16:10:33 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2002-08-27 16:10:33 +0000
commit2921123139c3be08cdb95e5a9bc6257590888b42 (patch)
tree9198bc074bb487e2fc28488be2f55d45e2821bad /vcl/unx
parent886e1d8009ac5c6d3996499175790e06bea2c4dc (diff)
#101685#,#i6886#: merge OOO_STABLE_1_PORTS (1.5-1.5.8.1) -> HEAD
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/source/gdi/salogl.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/vcl/unx/source/gdi/salogl.cxx b/vcl/unx/source/gdi/salogl.cxx
index a33a9c0121c2..aaa62a074e06 100644
--- a/vcl/unx/source/gdi/salogl.cxx
+++ b/vcl/unx/source/gdi/salogl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salogl.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kr $ $Date: 2001-11-07 17:20:06 $
+ * last change: $Author: hr $ $Date: 2002-08-27 17:10:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,13 +87,18 @@
// - Lib-Name -
// ------------
+#ifdef MACOSX
+#define OGL_LIBNAME "libGL.dylib"
+#else
#define OGL_LIBNAME "libGL.so"
+#endif
+
// ----------
// - Macros -
// ----------
-// NETBSD has neither RTLD_GLOBAL nor RTLD_NOW
-#ifdef NETBSD
+// NetBSD has neither RTLD_GLOBAL nor RTLD_NOW
+#if defined NETBSD
#define DLOPEN_MODE 0
#else
#define DLOPEN_MODE (RTLD_NOW | RTLD_GLOBAL)