]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r2528: Ensure MIN is defined as a macro so it's not undefined in the .so.
authorJeremy Allison <jra@samba.org>
Wed, 22 Sep 2004 17:58:45 +0000 (17:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:45 +0000 (10:52 -0500)
Fix from Andreas <andreas@conectiva.com.br>.
Jeremy.

source/nsswitch/winbind_nss_linux.c

index a6d0bfe4e86e8761089da331671fcc85a88e431e..267631cf2c1fba6b94386f6e06a553c4e83f45ca 100644 (file)
 
 #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. */