summaryrefslogtreecommitdiff
path: root/sapi/aolserver/aolserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/aolserver/aolserver.c')
-rw-r--r--sapi/aolserver/aolserver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c
index cbc4ec0257..c76ea19d45 100644
--- a/sapi/aolserver/aolserver.c
+++ b/sapi/aolserver/aolserver.c
@@ -18,13 +18,17 @@
/* $Id$ */
-/* conflict between PHP and aolserver */
+/* conflict between PHP and AOLserver */
#define Debug php_Debug
#include "php.h"
#undef Debug
#ifdef HAVE_AOLSERVER
+#ifndef ZTS
+#error AOLserver module only useable in thread-safe mode
+#endif
+
#include "php_ini.h"
#include "php_globals.h"
#include "SAPI.h"