projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(J90-3F46): Separate C1-7235.
[chise/xemacs-chise.git]
/
lib-src
/
getopt.c
diff --git
a/lib-src/getopt.c
b/lib-src/getopt.c
index
dd5cc71
..
51d69cf
100644
(file)
--- a/
lib-src/getopt.c
+++ b/
lib-src/getopt.c
@@
-31,7
+31,7
@@
USA. */
#endif
#ifdef HAVE_CONFIG_H
#endif
#ifdef HAVE_CONFIG_H
-#include <../src/config.h>
+#include <config.h>
#endif
#include <stdio.h>
#endif
#include <stdio.h>
@@
-73,7
+73,7
@@
USA. */
#endif
#endif
#endif
#endif
-#if defined (WIN32) && !defined (__CYGWIN32__)
+#if defined (WIN32_NATIVE) && !defined (CYGWIN)
/* It's not Unix, really. See? Capital letters. */
#include <windows.h>
#undef getpid
/* It's not Unix, really. See? Capital letters. */
#include <windows.h>
#undef getpid
@@
-202,11
+202,6
@@
static char *posixly_correct;
#define my_index strchr
#else
#define my_index strchr
#else
-/* Avoid depending on library functions or files
- whose names are inconsistent. */
-
-char *getenv ();
-
static char *
my_index (const char *str, int chr)
{
static char *
my_index (const char *str, int chr)
{