K-order DLL: remove warning about NOMINMAX

time-shift
Sébastien Villemot 2011-02-07 12:37:47 +01:00
parent 3fa2339cfe
commit 7717da4316
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2008-2010 Dynare Team * Copyright (C) 2008-2011 Dynare Team
* *
* This file is part of Dynare. * This file is part of Dynare.
* *
@ -21,7 +21,9 @@
#define _DYNAMIC_DLL_HH #define _DYNAMIC_DLL_HH
#if defined(_WIN32) || defined(__CYGWIN32__) #if defined(_WIN32) || defined(__CYGWIN32__)
# define NOMINMAX // Do not define "min" and "max" macros # ifndef NOMINMAX
# define NOMINMAX // Do not define "min" and "max" macros
# endif
# include <windows.h> # include <windows.h>
#else #else
# include <dlfcn.h> // unix/linux DLL (.so) handling routines # include <dlfcn.h> // unix/linux DLL (.so) handling routines