Re: [PHP-DEV] PHP 4.0 Bug #6677 Updated: Compile with native xlC varfs: duplicate def for int8

2001-02-02 Thread Alex Akilov

This problem does still exist.  However, the following workaround should
take care of it.  Unfortunately, I don't have the karma to commit it so
would some powerful being check out the following fix and take care of
it for me?  Thanks.

Index: ext/mysql/libmysql/global.h
===
RCS file: /repository/php4/ext/mysql/libmysql/global.h,v
retrieving revision 1.7
diff -u -r1.7 global.h
--- ext/mysql/libmysql/global.h 2001/01/23 16:48:49 1.7
+++ ext/mysql/libmysql/global.h 2001/02/02 19:52:49
@@ -544,7 +544,7 @@
 #else
 typedef char   *gptr;  /* Generic pointer */
 #endif
-#ifndef HAVE_INT_8_16_32
+#if !defined(HAVE_INT_8_16_32)  !defined(_H_INTTYPES)
 typedef char   int8;   /* Signed integer = 8  bits */
 typedef short  int16;  /* Signed integer = 16 bits */
 #endif
@@ -555,12 +555,12 @@
 typedef unsigned short uint16; /* Short for unsigned integer = 16 bits
*/

 #if SIZEOF_INT == 4
-#ifndef HAVE_INT_8_16_32
+#if !defined(HAVE_INT_8_16_32)  !defined(_H_INTTYPES)
 typedef intint32;
 #endif
 typedef unsigned int   uint32; /* Short for unsigned integer = 32 bits
*/
 #elif SIZEOF_LONG == 4
-#ifndef HAVE_INT_8_16_32
+#if !defined(HAVE_INT_8_16_32)  !defined(_H_INTTYPES)
 typedef long   int32;
 #endif
 typedef unsigned long  uint32; /* Short for unsigned integer = 32 bits
*/


-- 
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]




[PHP-DEV] php.net\version4\downloads directory gone! How to build on win32 without?

2001-01-23 Thread Alex Akilov

The version4\download directory used to contain some of the files that
are referred to in the version4\win32build.php instructions.  Though
one of the files (number.tar.gz) can still be found in the base download

directory, it appears that the bindlib_w32 has now vanished.
Makes building on win32 kinda hard.  I hope whoever deleted it can
put it back or at least update the win32build instructions so that we
can
continue to use that platform.

Alex


-- 
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]




Re: [PHP-DEV] php.net\version4\downloads directory gone! How to build on win32 without?

2001-01-23 Thread Alex Akilov

James,

Not so sure all of it is in CVS.  For example, there used to be
a bindlib.dsp/dsw and a bunch of source files (e.g. res*.c)
that I seem to recall which I can't find anywhere anymore.  In fact,
the bindlib_w32 directory in CVS doesn't seem to contain much
in terms of actual files.

Either way, the win32build instructions should have been corrected.

Alex


-- 
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]




Re: [PHP-DEV] php.net\version4\downloads directory gone! How to build on win32 without?

2001-01-23 Thread Alex Akilov

Ahh yes.  That's better.  Thanks Jim.

Alex


-- 
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]




Re: [PHP-DEV] php.net\version4\downloads directory gone! How to build on win32 without?

2001-01-23 Thread Alex Akilov

Jim,

Only one minor correction.  The link in win32build to the bindlib
file is now pointing at "extra" but is still labeled "download".  No
biggie, but since we're striving for purfection :-).

Alex


-- 
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]