diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-13 18:32:49 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-14 00:36:34 +0300 |
commit | 0ab0d0c9b4a56ad737b570fe8b171177106c0d8a (patch) | |
tree | 66f75c80ba136c7c6155485930144a0ac3a4a525 /sal | |
parent | 5a3a379662e06d71bea1d7fe54a0a08fd1817c35 (diff) |
Do define SAL_DLLEXTENSION properly for iOS, too
Do it even if it can never be used successfully in an iOS app anyway,
as they are not supposed to load dynamic libraries (except system
ones).
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/sal/config.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sal/inc/sal/config.h b/sal/inc/sal/config.h index 400fbcbd0198..e4ed257e4a3f 100644 --- a/sal/inc/sal/config.h +++ b/sal/inc/sal/config.h @@ -97,8 +97,14 @@ #ifdef IOS #define SAL_UNX -#define SAL_DLLEXTENSION +/* SAL_DLLEXTENSION should not really be used on iOS, as iOS apps are + * not allowed to load own dynamic libraries. + */ +#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 '/' |