Commit 69649c02 authored by Niels Möller's avatar Niels Möller
Browse files

#define MIN in the files that need it

Rev: src/rsync/receive.c:1.8
Rev: src/rsync/send.c:1.10
parent c090a7dc
......@@ -11,7 +11,8 @@
#include <string.h>
#include "rsync.h"
#include "macros.h"
#define MIN(a, b) (((a)>(b)) ? (b) : (a))
/* Hash the data after it is copied to the output buffer. */
static void
......
......@@ -14,7 +14,8 @@
#include <nettle/macros.h>
#include "rsync.h"
#include "macros.h"
#define MIN(a, b) (((a)>(b)) ? (b) : (a))
#define HASH_SIZE 0x10000
#define HASH_SUM(a, b) (((a) ^ (b)) & 0xffff)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment