diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2011-03-23 16:55:57 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2011-03-23 16:55:57 +0100 |
commit | a16869e2ff8a85e877f4060995937835f03a2beb (patch) | |
tree | 72a5be02c6ece9c9500dda956daec500e0b6af37 /desktop | |
parent | cfea27e67d8610f0275b36cbf42ca582a7338fe1 (diff) |
Really disable use of pagein on Mac
- there was a 2nd dir re-using that pagein object file
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/unx/source/makefile.mk | 2 | ||||
-rwxr-xr-x | desktop/unx/source/start.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/desktop/unx/source/makefile.mk b/desktop/unx/source/makefile.mk index f7400867ca..5c5c8f3e9e 100755 --- a/desktop/unx/source/makefile.mk +++ b/desktop/unx/source/makefile.mk @@ -44,9 +44,11 @@ OBJFILES= \ $(OBJ)$/start.obj \ $(OBJ)$/args.obj +.IF "$(OS)"!="MACOSX" PAGEIN_OBJS= \ $(OBJ)$/pagein.obj \ $(OBJ)$/file_image_unx.obj +.ENDIF APP1TARGET = $(TARGET) APP1RPATH = BRAND diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c index 1b40978f45..988c1c3ab4 100755 --- a/desktop/unx/source/start.c +++ b/desktop/unx/source/start.c @@ -731,6 +731,10 @@ extern int pagein_execute (int argc, char **argv); void exec_pagein (Args *args) { +// no pagein for the while on OSX +#ifdef MACOSX + (void)args; +#else char *argv[5]; rtl_String *app_path; @@ -750,6 +754,7 @@ exec_pagein (Args *args) pagein_execute (args->pPageinType ? 4 : 3, argv); free (argv[1]); +#endif } static void extend_library_path (const char *new_element) |