svn commit: samba r9949 - in branches/SAMBA_4_0/source/lib/replace: repdir win32

jelmer at samba.org jelmer at samba.org
Fri Sep 2 11:35:59 GMT 2005


Author: jelmer
Date: 2005-09-02 11:35:58 +0000 (Fri, 02 Sep 2005)
New Revision: 9949

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9949

Log:
Portability fixes for mingw32

Modified:
   branches/SAMBA_4_0/source/lib/replace/repdir/config.m4
   branches/SAMBA_4_0/source/lib/replace/win32/replace.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/repdir/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/repdir/config.m4	2005-09-02 11:33:35 UTC (rev 9948)
+++ branches/SAMBA_4_0/source/lib/replace/repdir/config.m4	2005-09-02 11:35:58 UTC (rev 9949)
@@ -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,[

Modified: branches/SAMBA_4_0/source/lib/replace/win32/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/win32/replace.h	2005-09-02 11:33:35 UTC (rev 9948)
+++ branches/SAMBA_4_0/source/lib/replace/win32/replace.h	2005-09-02 11:35:58 UTC (rev 9949)
@@ -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 */



More information about the samba-cvs mailing list