summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-02 11:35:58 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-09-02 11:35:58 +0000
commit08b081ec09c3ef3e80abfe0ad8a61759bb98e65f (patch)
tree6845368c932df7ce5b1dceb4d0415c2837219f59
parent71e0a62df9929d26d99636885319f5fd72e2782a (diff)
downloadsamba-misc-tags/SOC-jelmer.tar.gz
r9949: Portability fixes for mingw32samba-misc-tags/SOC-jelmer
-rw-r--r--source/lib/replace/repdir/config.m44
-rw-r--r--source/lib/replace/win32/replace.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/source/lib/replace/repdir/config.m4 b/source/lib/replace/repdir/config.m4
index 0ef40ad8cb6..02fb6e18167 100644
--- a/source/lib/replace/repdir/config.m4
+++ b/source/lib/replace/repdir/config.m4
@@ -1,6 +1,8 @@
AC_CACHE_CHECK([for broken readdir],samba_cv_HAVE_BROKEN_READDIR,[
AC_TRY_RUN([#include "${srcdir-.}/build/tests/os2_delete.c"],
- samba_cv_HAVE_BROKEN_READDIR=no,samba_cv_HAVE_BROKEN_READDIR=yes)])
+ [samba_cv_HAVE_BROKEN_READDIR=no],
+ [samba_cv_HAVE_BROKEN_READDIR=yes],
+ [samba_cv_HAVE_BROKEN_READDIR="assuming not"])])
if test x"$samba_cv_HAVE_BROKEN_READDIR" = x"yes"; then
AC_CACHE_CHECK([for replacing readdir],samba_cv_REPLACE_READDIR,[
diff --git a/source/lib/replace/win32/replace.h b/source/lib/replace/win32/replace.h
index 2c6d0e1a3f4..94fa140681f 100644
--- a/source/lib/replace/win32/replace.h
+++ b/source/lib/replace/win32/replace.h
@@ -140,7 +140,4 @@
#undef SE_GROUP_ENABLED_BY_DEFAULT
#undef SE_GROUP_ENABLED
-typedef uint32_t u_int32_t;
-typedef uint16_t u_int16_t;
-
#endif /* _WIN32_REPLACE_H */