pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/merkletree/files
Module Name: pkgsrc
Committed By: tnn
Date: Mon Aug 22 18:11:39 UTC 2022
Modified Files:
pkgsrc/security/merkletree/files: libmerkle.c
Log Message:
merkletree: provide fallback declaration of MIN
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/merkletree/files/libmerkle.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/merkletree/files/libmerkle.c
diff -u pkgsrc/security/merkletree/files/libmerkle.c:1.2 pkgsrc/security/merkletree/files/libmerkle.c:1.3
--- pkgsrc/security/merkletree/files/libmerkle.c:1.2 Wed May 31 23:21:06 2017
+++ pkgsrc/security/merkletree/files/libmerkle.c Mon Aug 22 18:11:39 2022
@@ -41,6 +41,9 @@
#ifndef __UNCONST
#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
#endif
+#ifndef MIN
+#define MIN(a,b) (((a)<(b))?(a):(b))
+#endif
/* a row of digests in a merkle tree */
typedef struct merkletree_row_t {
Home |
Main Index |
Thread Index |
Old Index