Small changes for compiling with MSVC 2013.

deque
cc9cii 11 years ago
parent 1b9b275f30
commit 76bf774485

@ -37,6 +37,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <list> #include <list>
#include <limits> #include <limits>
#if defined(_WIN32) && _MSC_VER >= 1800
#include <algorithm> /* std::min and std::max */
#endif
#include "tinyxml.h" #include "tinyxml.h"
#include "SDL_keyboard.h" #include "SDL_keyboard.h"

@ -1,6 +1,11 @@
#ifndef SDL4OGRE_SDLINPUTWRAPPER_H #ifndef SDL4OGRE_SDLINPUTWRAPPER_H
#define SDL4OGRE_SDLINPUTWRAPPER_H #define SDL4OGRE_SDLINPUTWRAPPER_H
#if defined(_WIN32) && _MSC_VER >= 1800
#include <algorithm>
#define NOMINMAX
#endif
#include <SDL_events.h> #include <SDL_events.h>
#include <OgreRenderWindow.h> #include <OgreRenderWindow.h>

Loading…
Cancel
Save