#ifdef HAS_CHROOT
tw_add_define("HAS_CHROOT");
#endif
+#ifndef NO_SSL
+ tw_add_define("HAS_SSL");
+#endif
}
int tw_config_read(const char* path) {
vhost = NULL;
current = &config.root;
}
- } else if(cm_strcaseequ(r[0], "Listen") || cm_strcaseequ(r[0], "ListenSSL")) {
+ } else if(cm_strcaseequ(r[0], "Listen")
+#ifndef NO_SSL
+ || cm_strcaseequ(r[0], "ListenSSL")
+#endif
+ ) {
for(i = 1; r[i] != NULL; i++) {
uint64_t port = atoi(r[i]);
cm_log("Config", "Going to listen at port %d%s", (int)port, cm_strcaseequ(r[0], "ListenSSL") ? " with SSL" : "");
extern "C" {
#endif
-#define TW_VERSION "1.08D\0"
+#define TW_VERSION "1.09\0"
const char* tw_get_version(void);
const char* tw_get_platform(void);