From 57d2cec1709628ea25baa6660814c354406fd9d7 Mon Sep 17 00:00:00 2001 From: Alex Waugh Date: Sun, 23 Dec 2001 14:37:24 +0000 Subject: Check for ushort --- ext/mysql/php_mysql.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext/mysql/php_mysql.c') diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 804b7fa32f..e73e6c0357 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -50,6 +50,11 @@ #include #endif +#ifndef HAVE_USHORT +#undef ushort +typedef unsigned short ushort; +#endif + /* True globals, no need for thread safety */ static int le_result, le_link, le_plink; -- cgit v1.2.1