From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to