diff options
Diffstat (limited to 'examples/others/raudio_standalone.c')
| -rw-r--r-- | examples/others/raudio_standalone.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/others/raudio_standalone.c b/examples/others/raudio_standalone.c index 224286d3..42a336ec 100644 --- a/examples/others/raudio_standalone.c +++ b/examples/others/raudio_standalone.c @@ -61,9 +61,12 @@ //---------------------------------------------------------------------------------- // Module Functions Declaration //---------------------------------------------------------------------------------- -#if !defined(_WIN32) +#if !defined(_MSC_VER) static int kbhit(void); // Check if a key has been pressed static char getch(); // Get pressed character +#else +#define kbhit _kbhit +#define getch _getch #endif //------------------------------------------------------------------------------------ |
