mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Use #if !HAVE_DECL...' instead of #ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols. Arrange for cpp to fail if the configure-time declaration check was not run.
This commit is contained in:
1 parent
aee6c49887
commit
aadde40206
2 files changed
+9
No files matched your search
@@ -50,6 +50,9 @@ extern int errno;
|
||||
#define STREQ(a, b) (strcmp ((a), (b)) == 0)
|
||||
|
||||
#ifndef HAVE_DECL_FREE
|
||||
'this configure-time declaration test was not run'
|
||||
#endif
|
||||
#if !HAVE_DECL_FREE
|
||||
void free ();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -38,10 +38,16 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_DECL_STRTOUL
|
||||
'this configure-time declaration test was not run'
|
||||
#endif
|
||||
#if !HAVE_DECL_STRTOUL
|
||||
unsigned long long strtoul PARAMS ((char const *, char **, int));
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_DECL_STRTOULL
|
||||
'this configure-time declaration test was not run'
|
||||
#endif
|
||||
#if !HAVE_DECL_STRTOULL
|
||||
unsigned long long strtoull PARAMS ((char const *, char **, int));
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user