Skip to content

Commit ded97eb

Browse files
piscisaureusBert Belder
authored and
Bert Belder
committed
Exclude getbuf from the windows build
It's not used.
1 parent e84edd2 commit ded97eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node.cc

+2
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,11 @@ static bool use_sni = true;
140140
static bool use_sni = false;
141141
#endif
142142

143+
#ifdef __POSIX__
143144
// Buffer for getpwnam_r(), getgrpam_r() and other misc callers; keep this
144145
// scoped at file-level rather than method-level to avoid excess stack usage.
145146
static char getbuf[PATH_MAX + 1];
147+
#endif
146148

147149
// We need to notify V8 when we're idle so that it can run the garbage
148150
// collector. The interface to this is V8::IdleNotification(). It returns

0 commit comments

Comments
 (0)