summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index a47bfa0..8e1c3e4 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -242,7 +242,9 @@ int erase_flash(struct flashchip *flash)
return 0;
}
+#ifndef MAX
#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif
#define POS_PRINT(x) do { pos += strlen(x); printf(x); } while (0)
void print_supported_chips(void)
OpenPOWER on IntegriCloud