]> granicus.if.org Git - php/commitdiff
fix build on windows, seems this macro is not defined
authorAndrey Hristov <andrey@php.net>
Wed, 1 Sep 2010 16:54:20 +0000 (16:54 +0000)
committerAndrey Hristov <andrey@php.net>
Wed, 1 Sep 2010 16:54:20 +0000 (16:54 +0000)
ext/mysqlnd/mysqlnd_structs.h

index e1e4cfcc3f371123e8bd4e3e2891540eca3c7f66..33a99ce43754039c7a0f7dee7374cdbb5efdf044 100644 (file)
@@ -156,13 +156,7 @@ typedef struct st_mysqlnd_options
          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;