From ded97eb892a9b704a63a127db03922725d65b417 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Fri, 2 Dec 2011 00:25:24 +0100 Subject: [PATCH] Exclude getbuf from the windows build It's not used. --- src/node.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/node.cc b/src/node.cc index 44939ade240..80f91a657bb 100644 --- a/src/node.cc +++ b/src/node.cc @@ -140,9 +140,11 @@ static bool use_sni = true; static bool use_sni = false; #endif +#ifdef __POSIX__ // Buffer for getpwnam_r(), getgrpam_r() and other misc callers; keep this // scoped at file-level rather than method-level to avoid excess stack usage. static char getbuf[PATH_MAX + 1]; +#endif // We need to notify V8 when we're idle so that it can run the garbage // collector. The interface to this is V8::IdleNotification(). It returns