summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.h
diff options
context:
space:
mode:
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