Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Exclude getbuf from the windows build
Browse files Browse the repository at this point in the history
It's not used.
  • Loading branch information
piscisaureus authored and Bert Belder committed Dec 2, 2011
1 parent e84edd2 commit ded97eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node.cc
Expand Up @@ -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
Expand Down

0 comments on commit ded97eb

Please sign in to comment.