diff options
Diffstat (limited to 'kexi/3rdparty/kexisql3/src/shell.c')
| -rw-r--r-- | kexi/3rdparty/kexisql3/src/shell.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kexi/3rdparty/kexisql3/src/shell.c b/kexi/3rdparty/kexisql3/src/shell.c index 0f5809c57..9ba1198cb 100644 --- a/kexi/3rdparty/kexisql3/src/shell.c +++ b/kexi/3rdparty/kexisql3/src/shell.c @@ -28,7 +28,10 @@ # include <sys/types.h> #endif -#ifdef _WIN32 +#if defined(_WIN32) || defined(WIN32) +/* Make sure isatty() has a prototype */ +extern int isatty(int); + # include <io.h> #endif @@ -52,10 +55,6 @@ # define stifle_history(X) #endif -/* Make sure isatty() has a prototype. -*/ -extern int isatty(); - /* ** The following is the open SQLite database. We make a pointer ** to this database a static variable so that it can be accessed |
