Browse Source

fixed issue preventing compile without ssl

Zachary Pavlov 18 years ago
parent
commit
de7aed1306
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/nativenet/config_nativenet.cxx

+ 2 - 0
panda/src/nativenet/config_nativenet.cxx

@@ -58,7 +58,9 @@ init_libnativenet() {
   Socket_IP::init_type();
   Socket_TCP::init_type();
   Socket_TCP_Listen::init_type();
+#ifdef HAVE_OPENSSL
   Socket_TCP_SSL::init_type();
+#endif
   Socket_UDP_Incoming::init_type();
   Socket_UDP_Outgoing::init_type();
   Socket_UDP::init_type();