summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird/php_pdo_firebird_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_firebird/php_pdo_firebird_int.h')
-rw-r--r--ext/pdo_firebird/php_pdo_firebird_int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pdo_firebird/php_pdo_firebird_int.h b/ext/pdo_firebird/php_pdo_firebird_int.h
index b4f2260a22..8bb6a5cba2 100644
--- a/ext/pdo_firebird/php_pdo_firebird_int.h
+++ b/ext/pdo_firebird/php_pdo_firebird_int.h
@@ -49,6 +49,12 @@
/* Firebird API has a couple of missing const decls in its API */
#define const_cast(s) ((char*)(s))
+#ifdef PHP_WIN32
+typedef void (__stdcall *info_func_t)(char*);
+#else
+typedef void (*info_func_t)(char*);
+#endif
+
typedef struct {
/* the result of the last API call */