]> granicus.if.org Git - php/commitdiff
removed unwanted NEW_LIBC checks
authorAnantha Kesari H Y <hyanantha@php.net>
Wed, 29 Sep 2004 14:42:16 +0000 (14:42 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Wed, 29 Sep 2004 14:42:16 +0000 (14:42 +0000)
main/php.h

index f19affd17836abe57b573c1deab90fe342fc81c5..b0acc095c36f08eefb5e242cd7388c89d8692055 100644 (file)
 #ifdef NETWARE
 /* For php_get_uname() function */
 #define PHP_UNAME  "NetWare"
-/*
- * This is obtained using uname(2) on Unix and assigned in the case of Windows;
- * we'll do it this way at least for now.
- */
 #define PHP_OS      PHP_UNAME
 #endif
 
@@ -208,11 +204,7 @@ 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>
@@ -260,18 +252,8 @@ char *strerror(int);
 /* global variables */
 extern pval *data;
 #if !defined(PHP_WIN32)
-#ifdef NETWARE
-#ifdef NEW_LIBC
 #define php_sleep sleep
-#else  /* NEW_LIBC */
-#define php_sleep   delay   /* sleep() and usleep() are not available */
-#define usleep      delay
-#endif /* NEW_LIBC */
-extern char **environ;
-#else  /* NETWARE */
 extern char **environ;
-#define php_sleep sleep
-#endif /*  NETWARE */
 #endif /* !defined(PHP_WIN32) */
 
 #ifdef PHP_PWRITE_64