summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-10-04 14:29:18 +0000
committerSascha Schumann <sas@php.net>1999-10-04 14:29:18 +0000
commit3e202d75ffeb44eb2b92e58848e93d0cca448601 (patch)
treed12ceea6658109182445062288ed59a459517c67
parent95d49b10b4d04a7b3f11cad9971a82165dfe2615 (diff)
downloadphp-git-3e202d75ffeb44eb2b92e58848e93d0cca448601.tar.gz
Polish this.
-rw-r--r--sapi/aolserver/aolserver.c6
-rw-r--r--sapi/nsapi/aolserver.c6
2 files changed, 10 insertions, 2 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"
diff --git a/sapi/nsapi/aolserver.c b/sapi/nsapi/aolserver.c
index cbc4ec0257..c76ea19d45 100644
--- a/sapi/nsapi/aolserver.c
+++ b/sapi/nsapi/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"