From: Frank M. Kromann Date: Tue, 20 Apr 2004 23:37:26 +0000 (+0000) Subject: MFH: Fix #28007. Compile fails when the SHORT type is undefined (older versions of... X-Git-Tag: php-4.3.7RC1~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b24de2d58a1e596677698309020c4b469b839cf3;p=php MFH: Fix #28007. Compile fails when the SHORT type is undefined (older versions of FreeTDS) --- diff --git a/ext/mssql/php_mssql.h b/ext/mssql/php_mssql.h index 6f2f3b8188..487ded51b7 100644 --- a/ext/mssql/php_mssql.h +++ b/ext/mssql/php_mssql.h @@ -37,6 +37,9 @@ #include "sqldb.h" #if HAVE_FREETDS +#ifndef SHORT +typedef short SHORT; +#endif #define SQLTEXT SYBTEXT #define SQLCHAR SYBCHAR #define SQLVARCHAR SYBVARCHAR