update to new format for cpp define SunOS

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-07-22 02:58:32 +00:00
parent 5fb00398bc
commit 770a0aab91
10 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1995 - 1999 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -48,7 +48,7 @@ RCSID("$Id$");
#include <stdio.h>
#ifdef HAVE_NETDB_H
#if (defined(SunOS) && (SunOS >= 5))
#if (defined(SunOS) && (SunOS >= 50))
#define hstrerror broken_proto
#endif
#include <netdb.h>

View File

@@ -95,7 +95,7 @@
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#if defined(HAVE_SYS_IOCTL_H) && SunOS != 4
#if defined(HAVE_SYS_IOCTL_H) && SunOS != 40
#include <sys/ioctl.h>
#endif
#ifdef TIME_WITH_SYS_TIME
@@ -232,7 +232,7 @@ char *strerror(int eno);
#if !defined(HAVE_HSTRERROR) || defined(NEED_HSTRERROR_PROTO)
/* This causes a fatal error under Psoriasis */
#if !(defined(SunOS) && (SunOS >= 5))
#if !(defined(SunOS) && (SunOS >= 50))
const char *hstrerror(int herr);
#endif
#endif