version 1.1.1.1, 2000/01/09 17:00:55 |
version 1.1.1.3, 2003/09/15 07:09:23 |
Line 221 extern int errno; |
|
Line 221 extern int errno; |
|
# endif /* HAVE_VALUES_H */ |
# endif /* HAVE_VALUES_H */ |
#endif /* !NO_LIMITS_H */ |
#endif /* !NO_LIMITS_H */ |
|
|
#ifdef NO_TIME_H |
/* ctime etc, should also define time_t and struct tm */ |
# ifndef time_t /* should be #defined by config.h, then... */ |
#ifndef NO_TIME_H |
# define time_t long |
# include <time.h> |
# endif |
|
#else |
|
# include <time.h> /* ctime etc, should also define time_t and struct tm */ |
|
#endif |
#endif |
|
|
|
#ifndef HAVE_TIME_T_IN_TIME_H |
|
# define time_t long |
|
#endif |
|
|
#if defined(PIPES) && (defined(VMS) || (defined(OSK) && defined(_ANSI_EXT))) || defined(PIPES) && defined(AMIGA_SC_6_1) |
#if defined(PIPES) && (defined(VMS) || (defined(OSK) && defined(_ANSI_EXT))) || defined(PIPES) && defined(AMIGA_SC_6_1) |
FILE *popen __PROTO((char *, char *)); |
FILE *popen __PROTO((char *, char *)); |
int pclose __PROTO((FILE *)); |
int pclose __PROTO((FILE *)); |
Line 246 int pclose __PROTO((FILE *)); |
|
Line 247 int pclose __PROTO((FILE *)); |
|
# include <math.h> |
# include <math.h> |
#endif |
#endif |
|
|
|
/* Normally in <math.h> */ |
|
#ifndef M_PI |
|
# define M_PI 3.14159265358979323846 |
|
#endif |
|
#ifndef M_PI_2 |
|
# define M_PI_2 1.57079632679489661923 |
|
#endif |
|
|
|
#ifndef HAVE_STRCASECMP |
|
# ifdef HAVE_STRICMP |
|
# define strcasecmp stricmp |
|
# else |
|
int gp_stricmp __PROTO((const char *, const char *)); |
|
# define strcasecmp gp_stricmp |
|
# endif |
|
#endif |
|
|
#ifndef HAVE_STRNICMP |
#ifndef HAVE_STRNICMP |
# ifdef HAVE_STRNCASECMP |
# ifdef HAVE_STRNCASECMP |
# define strnicmp strncasecmp |
# define strnicmp strncasecmp |
Line 255 int strnicmp __PROTO((char *, char *, int)); |
|
Line 273 int strnicmp __PROTO((char *, char *, int)); |
|
#endif |
#endif |
|
|
/* Argument types for select() */ |
/* Argument types for select() */ |
#ifdef SELECT_TYPE_ARG1 |
/* These may need some work ... */ |
# define gp_nfds_t SELECT_TYPE_ARG1 |
#ifndef fd_set_size_t |
#else |
# define fd_set_size_t size_t |
# define gp_nfds_t int |
#endif |
#endif /* 1 */ |
#ifndef SELECT_FD_SET_CAST |
#ifdef SELECT_TYPE_ARG234 |
# define SELECT_FD_SET_CAST |
# define gp_fd_set_p SELECT_TYPE_ARG234 |
#endif |
#else |
|
# ifndef __EMX__ |
|
# define gp_fd_set_p (int *) |
|
# else |
|
# define gp_fd_set_p (fd_set *) |
|
# endif |
|
#endif /* 234 */ |
|
#ifdef SELECT_TYPE_ARG5 |
|
# define gp_timeval_p SELECT_TYPE_ARG5 |
|
#else |
|
# define gp_timeval_p (struct timeval *) |
|
#endif /* 5 */ |
|
|
|
#ifndef GP_GETCWD |
#ifndef GP_GETCWD |
# if defined(HAVE_GETCWD) |
# if defined(HAVE_GETCWD) |