aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/unxz/xz_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libunarchive/unxz/xz_config.h')
-rw-r--r--archival/libunarchive/unxz/xz_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/libunarchive/unxz/xz_config.h b/archival/libunarchive/unxz/xz_config.h
index a4141e136..187e1cbed 100644
--- a/archival/libunarchive/unxz/xz_config.h
+++ b/archival/libunarchive/unxz/xz_config.h
@@ -32,9 +32,9 @@
#define memeq(a, b, size) (memcmp(a, b, size) == 0)
#define memzero(buf, size) memset(buf, 0, size)
-#ifndef min
+#undef min
+#undef min_t
#define min(x, y) ((x) < (y) ? (x) : (y))
-#endif
#define min_t(type, x, y) min(x, y)
/*