enable deprecated warning for msvc

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@925 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2013-08-12 13:24:29 +00:00
parent a974ed9d49
commit 76f0d13b84
3 changed files with 17 additions and 2 deletions

View File

@@ -42,8 +42,23 @@
#include <OpenMesh/Core/System/config.hh>
#include <OpenMesh/Tools/Utils/conio.hh>
// ----------------------------------------------------------------- MSVC Compiler ----
#ifdef _MSC_VER
#include <conio.h>
namespace OpenMesh {
namespace Utils {
int kbhit() { return ::_kbhit(); }
int getch() { return ::_getch(); }
int getche() { return ::_getche(); }
} // Tools
} // AS
// ----------------------------------------------------------------- Win32 ----
#ifdef WIN32
#elif defined(WIN32)
#include <conio.h>