summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-02 11:35:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:24 -0500
commitfc411bed80e3150a0d368daf9fb41f6c2aedf537 (patch)
tree001983e61fc9bbcb6d23bb0d0ad3cb3e1115be06 /source4/lib
parent4462869db22983d1a6634fd7bec5c6a073404b10 (diff)
downloadsamba-fc411bed80e3150a0d368daf9fb41f6c2aedf537.tar.gz
samba-fc411bed80e3150a0d368daf9fb41f6c2aedf537.tar.bz2
samba-fc411bed80e3150a0d368daf9fb41f6c2aedf537.zip
r9949: Portability fixes for mingw32
(This used to be commit 994093b08ee463066c6bae494b10374bd700b0b0)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/repdir/config.m44
-rw-r--r--source4/lib/replace/win32/replace.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/source4/lib/replace/repdir/config.m4 b/source4/lib/replace/repdir/config.m4
index 0ef40ad8cb..02fb6e1816 100644
--- a/source4/lib/replace/repdir/config.m4
+++ b/source4/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/source4/lib/replace/win32/replace.h b/source4/lib/replace/win32/replace.h
index 2c6d0e1a3f..94fa140681 100644
--- a/source4/lib/replace/win32/replace.h
+++ b/source4/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 */