Putting Readline code inside #ifdefs

This commit is contained in:
Haitham Gad 2013-03-09 23:18:49 -05:00 committed by Paul Beckingham
parent 60a7d2128e
commit a5f55bf2f4
6 changed files with 23 additions and 20 deletions

View file

@ -33,17 +33,6 @@
#include <stdio.h>
#include <wordexp.h>
namespace rl
{
// Wrapping readline.h in a namespace to
// avoid cluttering the global namespace.
extern "C"
{
#include <readline/readline.h>
#include <readline/history.h>
}
}
// Static class that offers a C++ API to readline C functions.
class Readline
{