Browse Source

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.
v0.11.5-release
Ben Noordhuis 12 years ago
parent
commit
e772a7deaf
  1. 2
      src/node_extensions.h

2
src/node_extensions.h

@ -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…
Cancel
Save