Commit b9cf3094 authored by sewardj's avatar sewardj
Browse files

[project @ 2000-03-08 11:20:53 by sewardj]

Define EXTERN_SYMS_linux for Linux.
parent 1d816bae
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* Hugs version 1.4, December 1997 * Hugs version 1.4, December 1997
* *
* $RCSfile: interface.c,v $ * $RCSfile: interface.c,v $
* $Revision: 1.34 $ * $Revision: 1.35 $
* $Date: 2000/03/07 16:18:25 $ * $Date: 2000/03/08 11:20:53 $
* ------------------------------------------------------------------------*/ * ------------------------------------------------------------------------*/
#include "prelude.h" #include "prelude.h"
...@@ -2492,24 +2492,6 @@ Type type; { ...@@ -2492,24 +2492,6 @@ Type type; {
* General object symbol query stuff * General object symbol query stuff
* ------------------------------------------------------------------------*/ * ------------------------------------------------------------------------*/
#if defined(linux_TARGET_OS)
#define IF_linux(xxx) xxx
#define IF_cygwin32(xxx) /**/
#define IF_solaris2(xxx) /**/
#endif
#if defined(solaris2_TARGET_OS)
#define IF_linux(xxx) /**/
#define IF_cygwin32(xxx) /**/
#define IF_solaris2(xxx) xxx
#endif
#if defined(cgywin32_TARGET_OS)
#define IF_linux(xxx) /**/
#define IF_cygwin32(xxx) xxx
#define IF_solaris2(xxx) /**/
#endif
#define EXTERN_SYMS_ALLPLATFORMS \ #define EXTERN_SYMS_ALLPLATFORMS \
Sym(stg_gc_enter_1) \ Sym(stg_gc_enter_1) \
Sym(stg_gc_noregs) \ Sym(stg_gc_noregs) \
...@@ -2688,18 +2670,17 @@ Type type; { ...@@ -2688,18 +2670,17 @@ Type type; {
Sym(stat) \ Sym(stat) \
Sym(fstat) Sym(fstat)
#define EXTERN_SYMS_linux \
#if 0
Sym(__errno_location) \ Sym(__errno_location) \
Sym(__xstat) \ Sym(__xstat) \
Sym(__fxstat) \ Sym(__fxstat) \
Sym(__lxstat) \ Sym(__lxstat) \
SymX(select) \ SymX(select) \
SymX(stderr) \
SymX(vfork) \ SymX(vfork) \
SymX(_exit) \
Sym(tzname) \ Sym(tzname) \
SymX(stderr) \
#endif
#if defined(linux_TARGET_OS) #if defined(linux_TARGET_OS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment