git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uClibc does not contain gnu/libc-version.h
[exim.git]
/
src
/
src
/
exim.c
diff --git
a/src/src/exim.c
b/src/src/exim.c
index ee7bfcd22fa6a0e1de4c1a4aaa1721120eb172f3..fd08cc780d7c233fa103ca03b2d244f675bafb56 100644
(file)
--- a/
src/src/exim.c
+++ b/
src/src/exim.c
@@
-12,7
+12,7
@@
Also a few functions that don't naturally fit elsewhere. */
#include "exim.h"
#include "exim.h"
-#if
def __GLIBC__
+#if
defined(__GLIBC__) && !defined(__UCLIBC__)
# include <gnu/libc-version.h>
#endif
# include <gnu/libc-version.h>
#endif
@@
-1044,7
+1044,7
@@
DEBUG(D_any) do {
fprintf(f, "Compiler: <unknown>\n");
#endif
fprintf(f, "Compiler: <unknown>\n");
#endif
-#if
def __GLIBC__
+#if
defined(__GLIBC__) && !defined(__UCLIBC__)
fprintf(f, "Library version: Glibc: Compile: %d.%d\n",
__GLIBC__, __GLIBC_MINOR__);
if (__GLIBC_PREREQ(2, 1))
fprintf(f, "Library version: Glibc: Compile: %d.%d\n",
__GLIBC__, __GLIBC_MINOR__);
if (__GLIBC_PREREQ(2, 1))