Add code to compile _strdup on non-Microsoft platforms (builds on Windows with DevStudio and Cygwin).
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
#include <readline/readline.h>
|
||||
#include <readline/history.h>
|
||||
#else
|
||||
#ifndef _MSC_VER
|
||||
#define _strdup strdup
|
||||
#endif
|
||||
static char* readline(const char* p)
|
||||
{
|
||||
std::string retval;
|
||||
|
Reference in New Issue
Block a user