summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-22 23:47:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-22 23:49:06 +0200
commitbcc31e249fde6536ab96ffcf2a8e542275efa69b (patch)
tree86234cd9e21a760a80bbb6fb084c0755b1cabcc6 /include/tools
parent54ef5bd641ef5c6938b591697115d63af381ebc3 (diff)
Simplify SVLIBRARY
Change-Id: Ib1c3cdca7652f5621ba79b1e3590a9241021c389
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/solar.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/tools/solar.h b/include/tools/solar.h
index 2bc9160bc5d7..42316ef16be3 100644
--- a/include/tools/solar.h
+++ b/include/tools/solar.h
@@ -120,20 +120,12 @@ inline void DoubleToSVBT64( double n, SVBT64 p ) { p[0] = ((sal_uInt8*)&n)[7
#define xub_StrLen sal_uInt16
-#define STRING_CONCAT3( s1, s2, s3 ) \
- s1 s2 s3
-
-// dll file extensions
-
#if defined WNT
-#define SVLIBRARY( Base ) \
- STRING_CONCAT3( Base, "lo", ".dll" )
+#define SVLIBRARY( Base ) Base "lo.dll"
#elif defined MACOSX
-#define SVLIBRARY( Base ) \
- STRING_CONCAT3( "lib", Base, "lo.dylib" )
+#define SVLIBRARY( Base ) "lib" Base "lo.dylib"
#elif defined UNX
-#define SVLIBRARY( Base ) \
- STRING_CONCAT3( "lib", Base, "lo.so" )
+#define SVLIBRARY( Base ) "lib" Base "lo.so"
#else
#error unknown platform
#endif