The branch, master has been updated
       via  12f2b9c tests: Define MIN if not available.
      from  9d4dbed tests: Query A record via CNAME

https://git.samba.org/?p=resolv_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 12f2b9c1e7efaa4fdfb658a46da9f419bf95aa78
Author: Andreas Schneider <[email protected]>
Date:   Fri Nov 28 08:49:12 2014 +0100

    tests: Define MIN if not available.
    
    Signed-off-by: Andreas Schneider <[email protected]>
    Reviewed-by: Michael Adam <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 tests/test_real_res_query.c | 4 ++++
 1 file changed, 4 insertions(+)


Changeset truncated at 500 lines:

diff --git a/tests/test_real_res_query.c b/tests/test_real_res_query.c
index 51436d3..9c8132a 100644
--- a/tests/test_real_res_query.c
+++ b/tests/test_real_res_query.c
@@ -33,6 +33,10 @@
 #include <arpa/inet.h>
 #include <resolv.h>
 
+#ifndef MIN
+#define MIN(a,b) ((a)<(b)?(a):(b))
+#endif
+
 #define ANSIZE 256
 
 static void print_asc(const uint8_t *buf, uint32_t len)


-- 
Resolv Wrapper Repository

Reply via email to