Hack to init NSProcessInfo on linux ppc

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3557 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-01-12 04:42:12 +00:00
parent 0a15c4a68b
commit 2aaa54e639
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@
-mccallum
*/
#if (!defined(__ELF__) && !defined(SYS_AUTOLOAD)) || defined(__FreeBSD__)
#if (!defined(__ELF__) && !defined(SYS_AUTOLOAD)) || defined(__FreeBSD__) || defined(__PPC__)
#ifndef __MINGW32__
#define main gnustep_base_user_main
extern int gnustep_base_user_main (/* int argc, char *argv[] */);

View file

@ -196,7 +196,7 @@ _gnu_process_args(int argc, char *argv[], char *env[])
that it automatically gets called before main with the argument and
environment pointers. FIXME: Would like to do something similar
for other formats besides ELF. */
#if ((defined(__ELF__) && !defined(__FreeBSD__)) || defined(SYS_AUTOLOAD))
#if ((defined(__ELF__) && !defined(__FreeBSD__) && !defined(__PPC__)) || defined(SYS_AUTOLOAD))
#ifdef linux
/* Under linux the functions in __libc_subinit are called before the