summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.h
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2004-04-20 23:37:08 +0000
committerFrank M. Kromann <fmk@php.net>2004-04-20 23:37:08 +0000
commit9909a3699211036958381d91235b7ed0111779f9 (patch)
tree7ea04a65ee4d130b4f9bbcf489fa2bbad51bb2c5 /ext/mssql/php_mssql.h
parentc5f887173427967f9a53911ea80c7bc13c311042 (diff)
downloadphp-git-9909a3699211036958381d91235b7ed0111779f9.tar.gz
Fix #28007. Compile fails when the SHORT type is undefined (older versions of FreeTDS)
Diffstat (limited to 'ext/mssql/php_mssql.h')
-rw-r--r--ext/mssql/php_mssql.h3
1 files changed, 3 insertions, 0 deletions
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