view src/s/osf5-0.h @ 44176:ae2fa08b3654

(gud-jdb-sourcepath): New variable, saves jdb -sourcepath parameter value. (gud-jdb-build-source-files-list): Comment clarification. (gud-jdb-massage-args): Reworked into loop-based argument list processing in order to support -classpath and -sourcepath argument processing. (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath to gud-jdb-classpath to obtain search list. (gud-jdb-parse-classpath-string): Remove any trailing slashes from directory names in classpath/sourcepath lists, update comment. (jdb): Add setting of gud-jdb-sourcepath, update comment. (gud-find-class): Add gud-jdb-sourcepath use, and correct behaviour for the case when classpath is not used--backward compatibility fix.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 27 Mar 2002 14:58:43 +0000
parents 03cf4a916248
children e10305e7e6a0 71edb04707fd
line wrap: on
line source

#define OSF5
#include "osf1.h"

/* It's enough to define _OSF_SOURCE instead of _BSD.  */

/* -nointrinsics is required to avoid losing with definitions of POSIX
   stuff in regex.c, for instance, where regex_t isn't consistent
   with the system defintion.  This may be necessary also on OSF 4
   systems with dtk 6.4 installed.  */
#undef C_SWITCH_SYSTEM
#ifdef __GNUC__
#define C_SWITCH_SYSTEM	-D_OSF_SOURCE
#else
#define C_SWITCH_SYSTEM	-D_OSF_SOURCE -nointrinsics
#endif

#define WAIT_USE_INT
#define SYS_SIGLIST_DECLARED
#define sys_siglist __sys_siglist
#ifndef NSIG			/* _OSF_SOURCE seems to get us this */
#define NSIG __sys_nsig
#endif

/* We have missing/inconsistent prototypes on 5.0, at least.  */
#define INHIBIT_X11R6_XIM

#define USE_MMAP_FOR_BUFFERS	1