mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Fix NxMath conflicts.
This commit is contained in:
@ -65,9 +65,26 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
# include <ws2tcpip.h>
|
# include <ws2tcpip.h>
|
||||||
# endif // MAXPLUGINCODE
|
# endif // MAXPLUGINCODE
|
||||||
# define WIN32_LEAN_AND_MEAN
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# define NOMINMAX // Needed to prevent NxMath conflicts
|
||||||
# include <Windows.h>
|
# include <Windows.h>
|
||||||
|
|
||||||
typedef HWND hsWindowHndl;
|
typedef HWND hsWindowHndl;
|
||||||
|
typedef HINSTANCE hsWindowInst;
|
||||||
#else
|
#else
|
||||||
typedef int32_t* hsWindowHndl;
|
typedef int32_t* hsWindowHndl;
|
||||||
|
typedef int32_t* hsWindowInst;
|
||||||
#endif // HS_BUILD_FOR_WIN32
|
#endif // HS_BUILD_FOR_WIN32
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
*
|
||||||
|
* max/min inline functions
|
||||||
|
*
|
||||||
|
***/
|
||||||
|
|
||||||
|
#ifdef max
|
||||||
|
#undef max
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef min
|
||||||
|
#undef min
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user