From 9909a3699211036958381d91235b7ed0111779f9 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Tue, 20 Apr 2004 23:37:08 +0000 Subject: [PATCH] Fix #28007. Compile fails when the SHORT type is undefined (older versions of FreeTDS) --- ext/mssql/php_mssql.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/mssql/php_mssql.h b/ext/mssql/php_mssql.h index a0c160e7d2..49997b181f 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 -- 2.40.0