NetWare related changes/modifications

This commit is contained in:
Anantha Kesari H Y 2002-09-09 11:31:03 +00:00
parent 1e09610f45
commit 1b18be126d

View File

@ -186,7 +186,11 @@ char *strerror(int);
#include "win32/pwd.h"
#include "win32/param.h"
#elif defined(NETWARE)
#ifdef NEW_LIBC
#include <sys/param.h>
#else
#include "NetWare/param.h"
#endif
#include "NetWare/pwd.h"
# else
#include <pwd.h>
@ -234,9 +238,20 @@ char *strerror(int);
/* global variables */
extern pval *data;
#if !defined(PHP_WIN32)
#ifdef NETWARE
#ifdef NEW_LIBC
/*#undef environ*/ /* For now, so that our 'environ' implementation is used */
#define php_sleep sleep
#else
#define php_sleep delay /* sleep() and usleep() are not available */
#define usleep delay
#endif
extern char **environ;
#else
extern char **environ;
#define php_sleep sleep
#endif
#endif
#ifdef PHP_PWRITE_64
ssize_t pwrite(int, void *, size_t, off64_t);