2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 18:07:25 +00:00

Support for Sun compiler on Solaris

This commit is contained in:
Ted Lemon 1996-09-11 05:53:58 +00:00
parent 3be0647e2c
commit 3e7cd8c1ff
4 changed files with 8 additions and 4 deletions

View File

@ -85,7 +85,7 @@ extern int h_errno;
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
#ifdef __GNUC__
#if defined (__GNUC__) || defined (__SVR4)
/* Varargs stuff: use stdarg.h instead ... */
#include <stdarg.h>
#define VA_DOTDOTDOT ...
@ -120,3 +120,5 @@ extern int h_errno;
#define TIME time_t
#define GET_TIME(x) time ((x))
#define random() rand()

View File

@ -85,7 +85,7 @@ extern int h_errno;
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
#ifdef __GNUC__
#if defined (__GNUC__) || defined (__SVR4)
/* Varargs stuff: use stdarg.h instead ... */
#include <stdarg.h>
#define VA_DOTDOTDOT ...
@ -120,3 +120,5 @@ extern int h_errno;
#define TIME time_t
#define GET_TIME(x) time ((x))
#define random() rand()

View File

@ -62,7 +62,7 @@
If you add a new system configuration file, include it here: */
#if defined (sun)
# if defined (__svr4__)
# if defined (__svr4__) || defined (__SVR4)
# include "cf/sunos5-5.h"
# else
# include "cf/sunos4.h"

View File

@ -62,7 +62,7 @@
If you add a new system configuration file, include it here: */
#if defined (sun)
# if defined (__svr4__)
# if defined (__svr4__) || defined (__SVR4)
# include "cf/sunos5-5.h"
# else
# include "cf/sunos4.h"