mirror of https://github.com/nodejs/node.git
build: fix --without-ssl build
Build breakage accidentally introduced in 8e29ce9
during code cleanup.
HAVE_OPENSSL is always defined (as either 0 or 1) so use #if rather
than #ifdef.
Fixes #5979.
pull/5010/head
parent
22c68fdc1d
commit
e772a7deaf
|
@ -22,7 +22,7 @@
|
|||
#ifndef SRC_NODE_EXTENSIONS_H_
|
||||
#define SRC_NODE_EXTENSIONS_H_
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
#if HAVE_OPENSSL
|
||||
# define NODE_EXT_LIST_SSL(ITEM) \
|
||||
ITEM(node_crypto) \
|
||||
ITEM(node_tls_wrap)
|
||||
|
|
Loading…
Reference in New Issue