svn commit: samba r2528 - in branches/SAMBA_3_0/source/nsswitch: .
jra at samba.org
jra at samba.org
Wed Sep 22 17:58:46 GMT 2004
Author: jra
Date: 2004-09-22 17:58:45 +0000 (Wed, 22 Sep 2004)
New Revision: 2528
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/nsswitch&rev=2528&nolog=1
Log:
Ensure MIN is defined as a macro so it's not undefined in the .so.
Fix from Andreas <andreas at conectiva.com.br>.
Jeremy.
Modified:
branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.c 2004-09-22 14:16:42 UTC (rev 2527)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.c 2004-09-22 17:58:45 UTC (rev 2528)
@@ -23,6 +23,10 @@
#include "winbind_client.h"
+#ifndef MIN
+#define MIN(a,b) ((a)<(b)?(a):(b))
+#endif
+
/* Maximum number of users to pass back over the unix domain socket
per call. This is not a static limit on the total number of users
or groups returned in total. */
More information about the samba-cvs
mailing list