summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b8063ab)
otherwise included libintl has problems (conflicts) with provided declarations
-#ifndef DONT_NEED_DECLARATIONS
+#ifdef WANT_DECLARATIONS
/* Declaration for gethostname(3)? */
#undef NEED_DECLARATION_GETHOSTNAME
/* Declaration for gethostname(3)? */
#undef NEED_DECLARATION_GETHOSTNAME
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
#define offsetof(a,b) ((size_t)&((a *)0)->b)
#endif
#define offsetof(a,b) ((size_t)&((a *)0)->b)
#endif
-#ifndef DONT_NEED_DECLARATIONS
+#ifdef 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>
# 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 */
+#define WANT_DECLARATIONS 1
#include "config.h"
#ifndef lint
static char rcsid[] ATTR_UNUSED = "$Id$";
#include "config.h"
#ifndef lint
static char rcsid[] ATTR_UNUSED = "$Id$";
-#define DONT_NEED_DECLARATIONS 1
+/* NEVER define "WANT_DECLARATIONS" ! */
#include "config.h"
#include "setup.h"
#include "mdsms.1.in2"
#include "config.h"
#include "setup.h"
#include "mdsms.1.in2"
+#define WANT_DECLARATIONS 1
#include "config.h"
#ifndef lint
static char rcsid[] ATTR_UNUSED = "$Id$";
#include "config.h"
#ifndef lint
static char rcsid[] ATTR_UNUSED = "$Id$";