cvs: php-src /ext/pspell pspell.c

From: Date: Tue, 18 May 2004 12:32:05 +0000
Subject: cvs: php-src /ext/pspell pspell.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27371@lists.php.net to get a copy of this message
edink Tue May 18 08:32:05 2004 EDT Modified files: /php-src/ext/pspell pspell.c Log: Move declarations to the begining of function. This allows it to actually compile on windows. http://cvs.php.net/diff.php/php-src/ext/pspell/pspell.c?r1=1.43&r2=1.44&ty=u Index: php-src/ext/pspell/pspell.c diff -u php-src/ext/pspell/pspell.c:1.43 php-src/ext/pspell/pspell.c:1.44 --- php-src/ext/pspell/pspell.c:1.43 Thu Feb 12 21:20:20 2004 +++ php-src/ext/pspell/pspell.c Tue May 18 08:32:05 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pspell.c,v 1.43 2004/02/13 02:20:20 iliaa Exp $ */ +/* $Id: pspell.c,v 1.44 2004/05/18 12:32:05 edink Exp $ */ #define IS_EXT_MODULE @@ -623,20 +623,20 @@ int ind; PspellConfig *config; + +#ifdef PHP_WIN32 + TCHAR aspell_dir[200]; + TCHAR data_dir[220]; + TCHAR dict_dir[220]; + HKEY hkey; + DWORD dwType,dwLen; +#endif argc = ZEND_NUM_ARGS(); if (argc < 1 || argc > 4 || zend_get_parameters_ex(argc,&language,&spelling,&jargon,&encoding) == FAILURE) { WRONG_PARAM_COUNT; } -#ifdef PHP_WIN32 - TCHAR aspell_dir[200]; - TCHAR data_dir[220]; - TCHAR dict_dir[220]; - HKEY hkey; - DWORD dwType,dwLen; -#endif - config = new_pspell_config(); #ifdef PHP_WIN32

« previous php.cvs (#27371) next »