forked from mirror/openmw-tes3mp
Small changes for compiling with MSVC 2013.
This commit is contained in:
parent
1b9b275f30
commit
76bf774485
2 changed files with 9 additions and 0 deletions
4
extern/oics/ICSPrerequisites.h
vendored
4
extern/oics/ICSPrerequisites.h
vendored
|
@ -37,6 +37,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <list>
|
||||
#include <limits>
|
||||
|
||||
#if defined(_WIN32) && _MSC_VER >= 1800
|
||||
#include <algorithm> /* std::min and std::max */
|
||||
#endif
|
||||
|
||||
#include "tinyxml.h"
|
||||
|
||||
#include "SDL_keyboard.h"
|
||||
|
|
5
extern/sdl4ogre/sdlinputwrapper.hpp
vendored
5
extern/sdl4ogre/sdlinputwrapper.hpp
vendored
|
@ -1,6 +1,11 @@
|
|||
#ifndef SDL4OGRE_SDLINPUTWRAPPER_H
|
||||
#define SDL4OGRE_SDLINPUTWRAPPER_H
|
||||
|
||||
#if defined(_WIN32) && _MSC_VER >= 1800
|
||||
#include <algorithm>
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include <SDL_events.h>
|
||||
|
||||
#include <OgreRenderWindow.h>
|
||||
|
|
Loading…
Reference in a new issue