[Libreoffice-commits] core.git: include/sal

Tor Lillqvist tml at collabora.com
Fri Oct 11 03:23:06 PDT 2013


 include/sal/config.h |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit c61891c096725cde7241ece415bf299ddb9e725f
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Oct 11 12:32:11 2013 +0300

    [API CHANGE]: Drop SAL_PRGEXTENSION from <sal/config.h>
    
    It is unused in LO source code.
    
    It was not really clearly defined what it meant and what it could be used
    for. Its value was ".exe" for Windows and ".bin" for other platforms. But we
    do have a "soffice.bin" on Windows, too, corresponding exactly to the
    "soffice.bin" on Linux. On the other hand, on OS X we don't have any
    "soffice.bin", just a "soffice".
    
    Change-Id: Iceee19cc8768c5aaaeeb9bba34b9cde50073498b

diff --git a/include/sal/config.h b/include/sal/config.h
index ee230fe..bd2b833 100644
--- a/include/sal/config.h
+++ b/include/sal/config.h
@@ -29,7 +29,6 @@
 #ifdef WIN32
 #define SAL_W32
 #define SAL_DLLEXTENSION ".dll"
-#define SAL_PRGEXTENSION ".exe"
 #define SAL_PATHSEPARATOR ';'
 #define SAL_PATHDELIMITER '\\'
 #define SAL_CONFIGFILE( name ) name ".ini"
@@ -57,7 +56,6 @@
 #define SAL_UNX
 #define SAL_DLLEXTENSION ".so"
 #define SAL_DLLPREFIX "lib"
-#define SAL_PRGEXTENSION ".bin"
 #define SAL_PATHSEPARATOR ':'
 #define SAL_PATHDELIMITER '/'
 #define SAL_CONFIGFILE( name ) name "rc"
@@ -67,7 +65,6 @@
 #define SAL_UNX
 #define SAL_DLLEXTENSION ".dylib"
 #define SAL_DLLPREFIX "lib"
-#define SAL_PRGEXTENSION ".bin"
 #define SAL_PATHSEPARATOR ':'
 #define SAL_PATHDELIMITER '/'
 #define SAL_CONFIGFILE( name ) name "rc"
@@ -80,10 +77,6 @@
  */
 #define SAL_DLLEXTENSION ".dylib"
 #define SAL_DLLPREFIX "lib"
-/* This is fairly pointless too, an iOS app consists of a single
- * executable (plus data files).
- */
-#define SAL_PRGEXTENSION ".bin"
 #define SAL_PATHSEPARATOR ':'
 #define SAL_PATHDELIMITER '/'
 #define SAL_CONFIGFILE( name ) name "rc"


More information about the Libreoffice-commits mailing list