The #ifndef BSD was a bit early on OSF/1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@61 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -33,23 +33,6 @@
|
|||||||
* @(#)externs.h 8.3 (Berkeley) 5/30/95
|
* @(#)externs.h 8.3 (Berkeley) 5/30/95
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BSD
|
|
||||||
# define BSD 43
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ucb stdio.h defines BSD as something wierd
|
|
||||||
*/
|
|
||||||
#if defined(sun) && defined(__svr4__)
|
|
||||||
#define BSD 43
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef USE_TERMIO
|
|
||||||
# if BSD > 43 || defined(SYSV_TERMIO)
|
|
||||||
# define USE_TERMIO
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#if defined(CRAY) && !defined(NO_BSD_SETJMP)
|
#if defined(CRAY) && !defined(NO_BSD_SETJMP)
|
||||||
@@ -63,6 +46,25 @@
|
|||||||
#ifdef CRAY
|
#ifdef CRAY
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
#endif /* CRAY */
|
#endif /* CRAY */
|
||||||
|
|
||||||
|
#ifndef BSD
|
||||||
|
# define BSD 43
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ucb stdio.h defines BSD as something wierd
|
||||||
|
*/
|
||||||
|
#if defined(sun) && defined(__svr4__)
|
||||||
|
#undef BSD
|
||||||
|
#define BSD 43
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USE_TERMIO
|
||||||
|
# if BSD > 43 || defined(SYSV_TERMIO)
|
||||||
|
# define USE_TERMIO
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_TERMIO
|
#ifdef USE_TERMIO
|
||||||
# ifndef VINTR
|
# ifndef VINTR
|
||||||
# ifdef SYSV_TERMIO
|
# ifdef SYSV_TERMIO
|
||||||
|
|||||||
Reference in New Issue
Block a user