summaryrefslogtreecommitdiff
path: root/http/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'http/init.c')
-rw-r--r--http/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/http/init.c b/http/init.c
index af71c9a..dc56e41 100644
--- a/http/init.c
+++ b/http/init.c
@@ -70,6 +70,12 @@
boolean FTPD_enabled = FALSE;
#endif
+#if defined(USE_GOAHEAD_HTTPD) && !defined(RTEMS_POSIX_API)
+ #warning "GoAhead server requires POSIX API - switching to SHTTPD"
+ #undef USE_GOAHEAD_HTTPD
+ #undef USE_SIMPLE_HTTPD
+#endif
+
#if defined(USE_GOAHEAD_HTTPD)
boolean GoAhead_HTTPD_enabled = TRUE;