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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user