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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdo_firebird/php_pdo_firebird_int.h b/ext/pdo_firebird/php_pdo_firebird_int.h
index d037e98fb5..7e0e2e66a8 100644
--- a/ext/pdo_firebird/php_pdo_firebird_int.h
+++ b/ext/pdo_firebird/php_pdo_firebird_int.h
@@ -55,6 +55,10 @@ typedef void (__stdcall *info_func_t)(char*);
typedef void (*info_func_t)(char*);
#endif
+#ifndef min
+#define min(a,b) ((a)<(b)?(a):(b))
+#endif
+
typedef struct {
/* the result of the last API call */