linenoise: fixed build with VS ('and' isn't supported)

This commit is contained in:
dankan1890 2016-10-08 16:39:45 +02:00
parent 2626c77bcb
commit cf92ae4a8a

View File

@ -89,7 +89,7 @@
#include <conio.h>
#include <windows.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
#endif
#define strcasecmp _stricmp