This removes 1 #ifdef from haproxy.c.
#include <string.h>
#include <unistd.h>
+#include <types/global.h>
#include <common/config.h>
#include <common/errors.h>
}
return NULL;
}
+
+__attribute__((constructor))
+static void __auth_init(void)
+{
+ hap_register_build_opts("Encrypted password support via crypt(3): yes", 0);
+}
"\n\n",
DEFAULT_MAXCONN, BUFSIZE, MAXREWRITE, MAX_POLL_EVENTS);
- printf("Encrypted password support via crypt(3): "
-#ifdef CONFIG_HAP_CRYPT
- "yes"
-#else
- "no"
-#endif
- "\n");
-
list_for_each_entry(item, &build_opts_list, list) {
puts(item->str);
}