Skip to content

Commit

Permalink
Windows/MSVC: Avoid compiler warning if NOMINMAX is already set
Browse files Browse the repository at this point in the history
  • Loading branch information
cblichmann authored and plafosse committed Nov 10, 2022
1 parent f91e7dd commit a46fea0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions binaryninjaapi.h
Expand Up @@ -20,7 +20,9 @@

#pragma once
#ifdef WIN32
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#endif
#include <stddef.h>
Expand Down

0 comments on commit a46fea0

Please sign in to comment.