summaryrefslogtreecommitdiff
path: root/main/php_getopt.h
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
committerKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
commit2104bea5d756dfa40b605a4a2765a3bc4637a76c (patch)
tree68be7fbf19a8acf7badda5cfc97a6b00fb36d4d7 /main/php_getopt.h
parentb3093082fdca748846c37dd52c9b0e978cc772f4 (diff)
downloadphp-git-2104bea5d756dfa40b605a4a2765a3bc4637a76c.tar.gz
Remove Netware support
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
Diffstat (limited to 'main/php_getopt.h')
-rw-r--r--main/php_getopt.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/main/php_getopt.h b/main/php_getopt.h
index d84ba18ed9..4ee29224e7 100644
--- a/main/php_getopt.h
+++ b/main/php_getopt.h
@@ -23,14 +23,6 @@
#include "php.h"
-#ifdef NETWARE
-/*
-As NetWare LibC has optind and optarg macros defined in unistd.h our local variables were getting mistakenly preprocessed so undeffing optind and optarg
-*/
-#undef optarg
-#undef optind
-#endif
-
/* Define structure for one recognized option (both single char and long name).
* If short_open is '-' this is the last option. */
typedef struct _opt_struct {