mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
Bugs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3673 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1c48da2075
commit
e8e2fd816b
3 changed files with 8 additions and 10 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
1999-02-08 Adam Fedor <fedor@penitente>
|
||||||
|
|
||||||
|
* Source/include/fake-main.h: Leave off __ELF__, only use
|
||||||
|
autoload of init method if SYS_AUTOLOAD.
|
||||||
|
* Source/NSProcessInfo.m: Likewise.
|
||||||
|
|
||||||
Mon Feb 8 10:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
Mon Feb 8 10:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
* Source/include/NSByteOrder.h: Implemented a full set of byte-swapping
|
* Source/include/NSByteOrder.h: Implemented a full set of byte-swapping
|
||||||
|
|
|
@ -36,15 +36,7 @@
|
||||||
functions is implemented in NSProcessInfo.m
|
functions is implemented in NSProcessInfo.m
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Currently this only actually necessary if we don't have ELF.
|
#if (!defined(SYS_AUTOLOAD)) || defined(__FreeBSD__)
|
||||||
If we have ELF, we can do something far cleaner.
|
|
||||||
See src/NSProcessInfo.m [__ELF__].
|
|
||||||
Hopefully, in the future, we'll do something cleaner
|
|
||||||
with non-ELF systems too.
|
|
||||||
-mccallum
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if (!defined(__ELF__) && !defined(SYS_AUTOLOAD)) || defined(__FreeBSD__) || defined(__PPC__)
|
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
#define main gnustep_base_user_main
|
#define main gnustep_base_user_main
|
||||||
extern int gnustep_base_user_main (/* int argc, char *argv[] */);
|
extern int gnustep_base_user_main (/* int argc, char *argv[] */);
|
||||||
|
|
|
@ -196,7 +196,7 @@ _gnu_process_args(int argc, char *argv[], char *env[])
|
||||||
that it automatically gets called before main with the argument and
|
that it automatically gets called before main with the argument and
|
||||||
environment pointers. FIXME: Would like to do something similar
|
environment pointers. FIXME: Would like to do something similar
|
||||||
for other formats besides ELF. */
|
for other formats besides ELF. */
|
||||||
#if ((defined(__ELF__) && !defined(__FreeBSD__) && !defined(__PPC__)) || defined(SYS_AUTOLOAD))
|
#if (!defined(__FreeBSD__)) || defined(SYS_AUTOLOAD)
|
||||||
#ifdef linux
|
#ifdef linux
|
||||||
|
|
||||||
/* Under linux the functions in __libc_subinit are called before the
|
/* Under linux the functions in __libc_subinit are called before the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue