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
Ben Noordhuis 2013-08-02 13:52:20 +02:00
parent 22c68fdc1d
commit e772a7deaf
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#ifndef SRC_NODE_EXTENSIONS_H_ #ifndef SRC_NODE_EXTENSIONS_H_
#define SRC_NODE_EXTENSIONS_H_ #define SRC_NODE_EXTENSIONS_H_
#ifdef HAVE_OPENSSL #if HAVE_OPENSSL
# define NODE_EXT_LIST_SSL(ITEM) \ # define NODE_EXT_LIST_SSL(ITEM) \
ITEM(node_crypto) \ ITEM(node_crypto) \
ITEM(node_tls_wrap) ITEM(node_tls_wrap)