diff options
author | Frank M. Kromann <fmk@php.net> | 2004-04-20 23:37:26 +0000 |
---|---|---|
committer | Frank M. Kromann <fmk@php.net> | 2004-04-20 23:37:26 +0000 |
commit | b24de2d58a1e596677698309020c4b469b839cf3 (patch) | |
tree | 5725ce97adeae2a6db2eb89d2ba36d3e902a43d4 /ext/mssql/php_mssql.h | |
parent | 4c5521ad813e842988f7ee33ada9ce6e913c5f63 (diff) | |
download | php-git-b24de2d58a1e596677698309020c4b469b839cf3.tar.gz |
MFH: 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.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |