Fix build with 7.4 on macOS
[m6w6/ext-pq] / src / php_pqconn.h
index 3a26a5a291a894ee88decbf22c94393354248287..1eb9b7b61297423eb56e73dd69e05b57d00f8cdd 100644 (file)
@@ -28,6 +28,7 @@ typedef struct php_pqconn {
        int (*poller)(PGconn *);
        php_resource_factory_t factory;
        HashTable listeners;
+       HashTable statements;
        HashTable converters;
        HashTable eventhandlers;
        php_pq_callback_t onevent;
@@ -45,7 +46,7 @@ typedef struct php_pqconn_object {
 
 typedef struct php_pqconn_resource_factory_data {
        char *dsn;
-       ulong flags;
+       uint32_t flags;
 } php_pqconn_resource_factory_data_t;
 
 extern php_resource_factory_ops_t *php_pqconn_get_resource_factory_ops(void);