Make MongoDB compile and work on OpenBSD (gcc4 archs, tested on OpenBSD-current/amd64).

This commit is contained in:
Frank DENIS
2010-06-21 04:29:03 +08:00
committed by Eliot
parent e1e111d05e
commit ab204d9f24
5 changed files with 23 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ string historyFile;
bool gotInterrupted = 0;
bool inMultiLine = 0;
#if defined(USE_READLINE) && !defined(__freebsd__) && !defined(_WIN32)
#if defined(USE_READLINE) && !defined(__freebsd__) && !defined(__openbsd__) && !defined(_WIN32)
#define CTRLC_HANDLE
#endif