Re: svn: /php/php-src/ branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h trunk/ext/mysqlnd/mysqlnd_structs.h

From: Date: Wed, 01 Sep 2010 17:36:28 +0000
Subject: Re: svn: /php/php-src/ branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h trunk/ext/mysqlnd/mysqlnd_structs.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-63422@lists.php.net to get a copy of this message
Hi 2010/9/1 Andrey Hristov <andrey@php.net>: > andrey                                   Wed, 01 Sep 2010 16:54:20 +0000 > > Revision: ŒÉýåë? > aØ*Û?²http://svn.php.net/viewvc?view=revision&revision=302980 > > Log: > fix build on windows, seems this macro is not defined > Wouldn't it be easier to just define SIZEOF_CHAR_P to 4 in config.w32.h.in as it default is? Something like: size_t sizeof_ptr(char *ptr) { return sizeof(ptr); } and test like: char test = "Something something"; size_t test_size = sizeof_ptr(test); Guess it could be done better or staticlly :) -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.cvs (#63422) next »