Add code to compile _strdup on non-Microsoft platforms (builds on Windows with DevStudio and Cygwin).
This commit is contained in:
parent
7ac22c7072
commit
18c6ed71f0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user