summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.h
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2004-06-04 01:03:38 +0000
committerSara Golemon <pollita@php.net>2004-06-04 01:03:38 +0000
commitceb73ca0198b4bd22fad363e60db85d249cb0d8e (patch)
tree9ad1cec060516904b2411e6fe5b22a8b77475b3c /ext/mssql/php_mssql.h
parent89ee6b45ad3749d28289efd552e0770f3e329a6f (diff)
downloadphp-git-ceb73ca0198b4bd22fad363e60db85d249cb0d8e.tar.gz
MFB BugFix# 28626 You can't #ifdef check a typedef. Just give it another name since it's only used once anyway.
Diffstat (limited to 'ext/mssql/php_mssql.h')
-rw-r--r--ext/mssql/php_mssql.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mssql/php_mssql.h b/ext/mssql/php_mssql.h
index 49997b181f..f8a9d6a97f 100644
--- a/ext/mssql/php_mssql.h
+++ b/ext/mssql/php_mssql.h
@@ -37,9 +37,7 @@
#include "sqldb.h"
#if HAVE_FREETDS
-#ifndef SHORT
-typedef short SHORT;
-#endif
+typedef short TDS_SHORT;
#define SQLTEXT SYBTEXT
#define SQLCHAR SYBCHAR
#define SQLVARCHAR SYBVARCHAR