summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 9d79176a..2809ee7b 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -20,7 +20,9 @@
#pragma once
#ifdef WIN32
+#ifndef NOMINMAX
#define NOMINMAX
+#endif
#include <windows.h>
#endif
#include <stddef.h>