projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update all header guards.
[tinc]
/
src
/
getopt1.c
diff --git
a/src/getopt1.c
b/src/getopt1.c
index
19605a5
..
07f5b2d
100644
(file)
--- a/
src/getopt1.c
+++ b/
src/getopt1.c
@@
-25,7
+25,7
@@
with this program; if not, write to the Free Software Foundation, Inc.,
#include "getopt.h"
#include "getopt.h"
-#if !defined (
__STDC__) || !__STDC__
+#if !defined (
STDC) || !STDC
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const
@@
-44,7
+44,7
@@
with this program; if not, write to the Free Software Foundation, Inc.,
it is simpler to just do this in the source for each such file. */
#define GETOPT_INTERFACE_VERSION 2
it is simpler to just do this in the source for each such file. */
#define GETOPT_INTERFACE_VERSION 2
-#if !defined (_LIBC) && defined (
__GLIBC__) && __GLIBC__
>= 2
+#if !defined (_LIBC) && defined (
GLIBC) && GLIBC
>= 2
#include <gnu-versions.h>
#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
#define ELIDE_CODE
#include <gnu-versions.h>
#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
#define ELIDE_CODE
@@
-55,8
+55,8
@@
with this program; if not, write to the Free Software Foundation, Inc.,
/* This needs to come after some library #include
/* This needs to come after some library #include
- to get
__GNU_LIBRARY__
defined. */
-#ifdef
__GNU_LIBRARY__
+ to get
GNU_LIBRARY
defined. */
+#ifdef
GNU_LIBRARY
#include <stdlib.h>
#endif
#include <stdlib.h>
#endif