]> granicus.if.org Git - php/commitdiff
fix var declaration used by macro conditions
authorAnatol Belski <ab@php.net>
Mon, 10 Nov 2014 17:26:20 +0000 (18:26 +0100)
committerAnatol Belski <ab@php.net>
Mon, 10 Nov 2014 22:30:15 +0000 (23:30 +0100)
sapi/cli/ps_title.c

index 4885d9ea6e0b75fc9ed6265550c289fa96285849..6cef483983de665bbef875d1c0b3a4ed1dd58e50 100644 (file)
@@ -129,7 +129,9 @@ static char** save_argv;
  * This holds the 'locally' allocated environ from the save_ps_args method.
  * This is subsequently free'd at exit.
  */
+#if defined(PS_USE_CLOBBER_ARGV)
 static char** frozen_environ, **new_environ;
+#endif
 
 /*
  * Call this method early, before any code has used the original argv passed in