mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
FreeBSD fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3407 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9aa5aae91d
commit
a84d027893
4 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon Dec 7 10:00:34 1998 Adam Fedor <fedor@ultra.doc.com>
|
||||
|
||||
* src/NSProcessInfo.m: Use fake-main if FreeBSD.
|
||||
* src/include/fake-main.h: Likewise.
|
||||
|
||||
* src/include/NSDateFormatter.h: Include NSFormatter.h.
|
||||
|
||||
Sun Dec 6 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* src/NSDate.m: removed +initialize - moved default locale info to
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSFormatter.h>
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
-mccallum
|
||||
*/
|
||||
|
||||
#if !defined(__ELF__) && !defined(SYS_AUTOLOAD)
|
||||
#if (!defined(__ELF__) && !defined(SYS_AUTOLOAD)) || defined(__FreeBSD__)
|
||||
#ifndef __MINGW32__
|
||||
#define main gnustep_base_user_main
|
||||
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
|
||||
environment pointers. FIXME: Would like to do something similar
|
||||
for other formats besides ELF. */
|
||||
#if (defined(__ELF__) || defined(SYS_AUTOLOAD))
|
||||
#if ((defined(__ELF__) && !defined(__FreeBSD__)) || defined(SYS_AUTOLOAD))
|
||||
#ifdef linux
|
||||
|
||||
/* Under linux the functions in __libc_subinit are called before the
|
||||
|
|
Loading…
Reference in a new issue