diff options
author | iFarbod <ifarbod@users.noreply.github.com> | 2016-11-08 20:18:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 20:18:59 +0300 |
commit | 7a6b24bc459736b09f1ff49cd33d9d6e86ef7584 (patch) | |
tree | e1a9e53c08b1ac157a2dfbc7d416683d28ab8691 | |
parent | 83988a65d957c1c046f24f6b1b14187a58667e1a (diff) |
Fix NOMINMAX macro redefinition compiler warning
My project defines NOMINMAX project wide, so I had to do this to minhook to suppress the warning.
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index b191ece..c82974a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -26,8 +26,12 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef STRICT #define STRICT +#endif +#ifndef NOMINMAX #define NOMINMAX +#endif #define _WIN32_WINNT 0x0501 #include <windows.h> #include "buffer.h" |