Kaydet (Commit) bcc31e24 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Simplify SVLIBRARY

Change-Id: Ib1c3cdca7652f5621ba79b1e3590a9241021c389
üst 54ef5bd6
...@@ -120,20 +120,12 @@ inline void DoubleToSVBT64( double n, SVBT64 p ) { p[0] = ((sal_uInt8*)&n)[7 ...@@ -120,20 +120,12 @@ inline void DoubleToSVBT64( double n, SVBT64 p ) { p[0] = ((sal_uInt8*)&n)[7
#define xub_StrLen sal_uInt16 #define xub_StrLen sal_uInt16
#define STRING_CONCAT3( s1, s2, s3 ) \
s1 s2 s3
// dll file extensions
#if defined WNT #if defined WNT
#define SVLIBRARY( Base ) \ #define SVLIBRARY( Base ) Base "lo.dll"
STRING_CONCAT3( Base, "lo", ".dll" )
#elif defined MACOSX #elif defined MACOSX
#define SVLIBRARY( Base ) \ #define SVLIBRARY( Base ) "lib" Base "lo.dylib"
STRING_CONCAT3( "lib", Base, "lo.dylib" )
#elif defined UNX #elif defined UNX
#define SVLIBRARY( Base ) \ #define SVLIBRARY( Base ) "lib" Base "lo.so"
STRING_CONCAT3( "lib", Base, "lo.so" )
#else #else
#error unknown platform #error unknown platform
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment