]> granicus.if.org Git - php/commitdiff
fix some warnings
authorThies C. Arntzen <thies@php.net>
Tue, 5 Oct 1999 12:09:08 +0000 (12:09 +0000)
committerThies C. Arntzen <thies@php.net>
Tue, 5 Oct 1999 12:09:08 +0000 (12:09 +0000)
ext/standard/basic_functions.c

index a188f73668b8de90c04e15cf3b34ec728616b7f4..7ee3a8c5cba2c1e6b9d3c83f70ff6e0e488d6031 100644 (file)
@@ -456,7 +456,9 @@ PHP_FUNCTION(getenv)
 #endif
        pval *str;
        char *ptr;
+#if APACHE
        SLS_FETCH();
+#endif
 
        if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &str) == FAILURE) {
                WRONG_PARAM_COUNT;
@@ -1177,7 +1179,9 @@ void php3_flush(HashTable *)
 PHP_FUNCTION(flush)
 #endif
 {
+#if APACHE 
        SLS_FETCH();
+#endif
        
 #if APACHE
 #  if MODULE_MAGIC_NUMBER > 19970110