mirror of
https://github.com/holub/mame
synced 2025-10-05 00:38:58 +03:00
linenoise: fixed build with VS ('and' isn't supported)
This commit is contained in:
parent
2626c77bcb
commit
cf92ae4a8a
2
3rdparty/linenoise-ng/src/linenoise.cpp
vendored
2
3rdparty/linenoise-ng/src/linenoise.cpp
vendored
@ -89,7 +89,7 @@
|
|||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#if defined(_MSC_VER) and (_MSC_VER < 1900)
|
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||||
#define snprintf _snprintf // Microsoft headers use underscores in some names
|
#define snprintf _snprintf // Microsoft headers use underscores in some names
|
||||||
#endif
|
#endif
|
||||||
#define strcasecmp _stricmp
|
#define strcasecmp _stricmp
|
||||||
|
Loading…
Reference in New Issue
Block a user