From 82d513ee727787229e03a413ffabd1d29fc09968 Mon Sep 17 00:00:00 2001 From: Daniela Mariaschi Date: Wed, 14 May 2003 08:22:54 +0000 Subject: better fix bug #20641. Overflow numeric/decimal datatype on NT --- ext/interbase/php_interbase.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/interbase/php_interbase.h') diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h index bf3342aa7c..72c942e9a9 100644 --- a/ext/interbase/php_interbase.h +++ b/ext/interbase/php_interbase.h @@ -30,8 +30,14 @@ extern zend_module_entry ibase_module_entry; #ifdef PHP_WIN32 #define PHP_IBASE_API __declspec(dllexport) +#ifndef ISC_INT64_FORMAT + #define ISC_INT64_FORMAT "I64" +#endif #else #define PHP_IBASE_API +#ifndef ISC_INT64_FORMAT + #define ISC_INT64_FORMAT "ll" +#endif #endif PHP_MINIT_FUNCTION(ibase); -- cgit v1.2.1