andrey                                   Wed, 01 Sep 2010 16:54:20 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=302980

Log:
fix build on windows, seems this macro is not defined

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h
    U   php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h

Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h  2010-09-01 
15:34:48 UTC (rev 302979)
+++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h  2010-09-01 
16:54:20 UTC (rev 302980)
@@ -156,13 +156,7 @@
          The ABI will be broken and the methods structure will be somewhere 
else
          in the memory which can crash external code. Feel free to reuse these.
        */
-#if SIZEOF_CHAR_P == 4
-       uint32_t unused1;
-#elif SIZEOF_CHAR_P == 8
-       uint64_t unused1;
-#else
-#error Not supported platform
-#endif
+       char            * unused1;
        char            * unused2;
        char            * unused3;
        char            * unused4;

Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h
===================================================================
--- php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h     2010-09-01 15:34:48 UTC 
(rev 302979)
+++ php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h     2010-09-01 16:54:20 UTC 
(rev 302980)
@@ -156,13 +156,7 @@
          The ABI will be broken and the methods structure will be somewhere 
else
          in the memory which can crash external code. Feel free to reuse these.
        */
-#if SIZEOF_CHAR_P == 4
-       uint32_t unused1;
-#elif SIZEOF_CHAR_P == 8
-       uint64_t unused1;
-#else
-#error Not supported platform
-#endif
+       char            * unused1;
        char            * unused2;
        char            * unused3;
        char            * unused4;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to