summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.h
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2004-06-04 01:02:21 +0000
committerSara Golemon <pollita@php.net>2004-06-04 01:02:21 +0000
commit254451337c3ce1ff86acb90f706a1db80baa1daf (patch)
tree8e49e35c295b12859b78b52ffcfe9de371b8fc15 /ext/mssql/php_mssql.h
parentc5eb0540e09c1af257c16178bbc9897331c565f3 (diff)
downloadphp-git-254451337c3ce1ff86acb90f706a1db80baa1daf.tar.gz
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 487ded51b7..00f4500c90 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