summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorKay Ramme <kr@openoffice.org>2001-05-14 08:24:20 +0000
committerKay Ramme <kr@openoffice.org>2001-05-14 08:24:20 +0000
commit8a2b8c9daea7a644a562f4eca1f13c117048c80c (patch)
treee05aa04d3335786ad23149377eeb363ac5b22adc /sal
parent19be551bbadc21b7c0b1d49cd6530b82dcff8ef1 (diff)
new macro: SAL_MODULE_NAME_WITH_VERSION
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/osl/module.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sal/inc/osl/module.h b/sal/inc/osl/module.h
index 6889e1ef3456..3db1bdd8547c 100644
--- a/sal/inc/osl/module.h
+++ b/sal/inc/osl/module.h
@@ -2,9 +2,9 @@
*
* $RCSfile: module.h,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: jl $ $Date: 2001-03-16 13:01:52 $
+ * last change: $Author: kr $ $Date: 2001-05-14 09:24:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,6 +81,15 @@ extern "C" {
#define SAL_MODULENAME(name) name SAL_DLLEXTENSION
#endif
+#ifdef SAL_W32
+#define SAL_MODULENAME_WITH_VERSION(name, version) name version SAL_DLLEXTENSION
+
+#elif defined(SAL_UNX)
+#define SAL_MODULENAME_WITH_VERSION(name, version) SAL_DLLPREFIX name SAL_DLLEXTENSION "." version
+
+#endif
+
+
#define SAL_LOADMODULE_DEFAULT 0x00000
#define SAL_LOADMODULE_LAZY 0x00001
#define SAL_LOADMODULE_NOW 0x00002