git://git.jankratochvil.net
/
mdsms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Crossplatformity: '#ifndef DONT_NEED_DECLARATIONS' -> '#ifdef WANT_DECLARATIONS'
[mdsms.git]
/
acconfig.h
diff --git
a/acconfig.h
b/acconfig.h
index
912a31e
..
a366e48
100644
(file)
--- a/
acconfig.h
+++ b/
acconfig.h
@@
-74,7
+74,7
@@
@BOTTOM@
@BOTTOM@
-#if
ndef DONT_NEED
_DECLARATIONS
+#if
def WANT
_DECLARATIONS
/* Declaration for gethostname(3)? */
#undef NEED_DECLARATION_GETHOSTNAME
/* Declaration for gethostname(3)? */
#undef NEED_DECLARATION_GETHOSTNAME
@@
-181,7
+181,7
@@
int pclose(FILE *stream);
extern const char *gettext(const char *msgid);
#endif
extern const char *gettext(const char *msgid);
#endif
-#endif /*
!DONT_NEED
_DECLARATIONS */
+#endif /*
WANT
_DECLARATIONS */
/* snprintf(3) unsafe emulation */
#ifdef HAVE_SNPRINTF
/* snprintf(3) unsafe emulation */
#ifdef HAVE_SNPRINTF
@@
-226,7
+226,7
@@
extern char *sys_errlist[];
#define offsetof(a,b) ((size_t)&((a *)0)->b)
#endif
#define offsetof(a,b) ((size_t)&((a *)0)->b)
#endif
-#if
ndef DONT_NEED
_DECLARATIONS
+#if
def WANT
_DECLARATIONS
/*
* Handles all of the internationalization configuration options.
* Author: Tom Tromey <tromey@creche.cygnus.com>
/*
* Handles all of the internationalization configuration options.
* Author: Tom Tromey <tromey@creche.cygnus.com>
@@
-253,4
+253,4
@@
extern char *sys_errlist[];
# define _(String) (String)
# define N_(String) (String)
#endif /* ENABLE_NLS */
# define _(String) (String)
# define N_(String) (String)
#endif /* ENABLE_NLS */
-#endif /*
!DONT_NEED
_DECLARATIONS */
+#endif /*
WANT
_DECLARATIONS */