mysql_set_charset now works version undependent for MySQL 4.1.13 and above

This commit is contained in:
Georg Richter 2005-05-13 13:30:22 +00:00
parent 49e1484da8
commit d8f91dc44c

View File

@ -99,16 +99,14 @@ typedef struct {
#ifdef PHP_WIN32
#define PHP_MYSQLI_API __declspec(dllexport)
#if MYSQL_VERSION_ID > 50005
#define HAVE_MYSQLI_SET_CHARSET
#elif MYSQL_VERSION_ID > 40112 && MYSQL_VERSION_ID < 50000
#define HAVE_MYSQLI_SET_CHARSET
#endif
#else
#define HAVE_MYSQLI_SET_CHARSET
#define PHP_MYSQLI_API
#endif
#if MYSQL_VERSION_ID > 40112 && MYSQL_VERSION_ID < 50000
#define HAVE_MYSQLI_SET_CHARSET
#endif
#ifdef ZTS
#include "TSRM.h"
#endif