Bug #14087: int8 redefinition fix in global.h
| From: | mseibert at us dot ibm dot com | Date: | Fri, 16 Nov 2001 19:48:17 +0000 |
| Subject: | Bug #14087: int8 redefinition fix in global.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-70682@lists.php.net to get a copy of this message | ||
From: mseibert@us.ibm.com
Operating system: AIX 4.3.X
PHP version: 4.0.5
PHP Bug Type: Compile Failure
Bug description: int8 redefinition fix in global.h
Under AIX 4.3.X, using gcc as a compiler for PHP4.0.5, under the
ext/mysql/libmysql compile, there is an error in how the int8 variable is
defined (signed char vs. char). This can be fixed by editing
ext/mysql/libmysql/global.h and altering the line that reads (should be
549):
typedef char int8; /* Signed integer >= 8 bits */
to read like this block:
#ifdef _AIX
typedef signed char int8; /* Signed integer >= 8 bits*/
#else
typedef char int8; /* Signed integer >= 8 bits*/
#endif
--
Edit bug report at: http://bugs.php.net/?id=14087&edit=1