Skip to content
Snippets Groups Projects
Commit 6fafd11f authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-05-21 09:30:21 by simonm]

Define _BSD_SOURCE to get this to compile under Linux w/ glibc.
parent a6790efe
No related merge requests found
...@@ -35,6 +35,12 @@ much pain. ...@@ -35,6 +35,12 @@ much pain.
# define NON_POSIX_SOURCE # define NON_POSIX_SOURCE
#endif #endif
#if defined(linux_TARGET_OS)
# define NON_POSIX_SOURCE
/* sigh, linux w/ glibc needs _BSD_SOURCE to get caddr_t... (ToDo) */
# define _BSD_SOURCE
#endif
#if defined(osf3_TARGET_OS) || defined(osf1_TARGET_OS) #if defined(osf3_TARGET_OS) || defined(osf1_TARGET_OS)
/* The include files for OSF1 do not normally define SA_SIGINFO */ /* The include files for OSF1 do not normally define SA_SIGINFO */
# define _OSF_SOURCE 1 # define _OSF_SOURCE 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment