summaryrefslogtreecommitdiff
path: root/src/mongo/platform/windows_basic.h
diff options
context:
space:
mode:
authorLogan Capaldo <logancapaldo@gmail.com>2012-05-01 02:43:54 +0000
committerEric Milkie <milkie@10gen.com>2012-05-04 10:44:05 -0400
commitd75eb705da9cdaf506da3c65535ea9a1d72d09b4 (patch)
treef3c44e98c2370b801318f868a6b2752c56c47733 /src/mongo/platform/windows_basic.h
parentb118ba77c541b5f952cc9c3e418fee0644ee4c7f (diff)
downloadmongo-d75eb705da9cdaf506da3c65535ea9a1d72d09b4.tar.gz
SERVER-4632 Welcome message displayed on first run of mongo
Display a welcome message if .mongorc.js is not present. Direct users to help, the doc website, and the google group. Write an empty .mongorc.js so that the message isn't displayed again. Signed-off-by: Eric Milkie <milkie@10gen.com>
Diffstat (limited to 'src/mongo/platform/windows_basic.h')
-rw-r--r--src/mongo/platform/windows_basic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/platform/windows_basic.h b/src/mongo/platform/windows_basic.h
index 3a728981d33..d820917451d 100644
--- a/src/mongo/platform/windows_basic.h
+++ b/src/mongo/platform/windows_basic.h
@@ -16,4 +16,6 @@
# include <ws2tcpip.h>
# include <wspiapi.h>
# include <windows.h>
+// *Nix has isatty, Windows has it too but spells it _isatty. Let's simplify
+#define isatty _isatty
#endif