config-win.h 13.3 KB
Newer Older
monty@hundin.mysql.fi's avatar
monty@hundin.mysql.fi committed
1 2 3 4
/* Copyright (C) 2000 MySQL AB

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
5
   the Free Software Foundation; version 2 of the License.
monty@hundin.mysql.fi's avatar
monty@hundin.mysql.fi committed
6 7

   This program is distributed in the hope that it will be useful,
bk@work.mysql.com's avatar
bk@work.mysql.com committed
8
   but WITHOUT ANY WARRANTY; without even the implied warranty of
monty@hundin.mysql.fi's avatar
monty@hundin.mysql.fi committed
9 10 11 12 13 14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
15 16 17

/* Defines for Win32 to make it compatible for MySQL */

18 19
#define BIG_TABLES

20 21 22 23 24 25
#ifdef __WIN2000__
/* We have to do this define before including windows.h to get the AWE API
functions */
#define _WIN32_WINNT     0x0500
#endif

26 27 28 29 30
#if defined(_MSC_VER) && _MSC_VER >= 1400
/* Avoid endless warnings about sprintf() etc. being unsafe. */
#define _CRT_SECURE_NO_DEPRECATE 1
#endif

bk@work.mysql.com's avatar
bk@work.mysql.com committed
31
#include <sys/locking.h>
32
#include <winsock2.h>
bk@work.mysql.com's avatar
bk@work.mysql.com committed
33 34 35 36 37
#include <math.h>			/* Because of rint() */
#include <fcntl.h>
#include <io.h>
#include <malloc.h>

38
#define BIG_TABLES 1
39 40
#define HAVE_SMEM 1

41 42 43 44
#if defined(_WIN64) || defined(WIN64) 
#define SYSTEM_TYPE	"Win64" 
#elif defined(_WIN32) || defined(WIN32) 
#define SYSTEM_TYPE	"Win32" 
bk@work.mysql.com's avatar
bk@work.mysql.com committed
45
#else
46
#define SYSTEM_TYPE	"Windows"
bk@work.mysql.com's avatar
bk@work.mysql.com committed
47 48
#endif

49 50 51 52 53 54
#if defined(_M_IA64) 
#define MACHINE_TYPE	"ia64" 
#elif defined(_M_IX86) 
#define MACHINE_TYPE	"ia32" 
#elif defined(_M_ALPHA) 
#define MACHINE_TYPE	"axp" 
monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
55
#else
56 57 58 59
#define MACHINE_TYPE	"unknown"	/* Define to machine type name */
#endif 
 
#if !(defined(_WIN64) || defined(WIN64)) 
monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
60 61 62 63 64
#ifndef _WIN32
#define _WIN32				/* Compatible with old source */
#endif
#ifndef __WIN32__
#define __WIN32__
bk@work.mysql.com's avatar
bk@work.mysql.com committed
65
#endif
monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
66
#endif /* _WIN64 */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
67
#ifndef __WIN__
68
#define __WIN__			      /* To make it easier in VC++ */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
69 70
#endif

kent@mysql.com's avatar
kent@mysql.com committed
71 72 73 74
#ifndef MAX_INDEXES
#define MAX_INDEXES 64
#endif

bk@work.mysql.com's avatar
bk@work.mysql.com committed
75
/* File and lock constants */
76
#define O_SHARE		0x1000		/* Open file in sharing mode */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
77
#ifdef __BORLANDC__
78 79 80
#define F_RDLCK		LK_NBLCK	/* read lock */
#define F_WRLCK		LK_NBRLCK	/* write lock */
#define F_UNLCK		LK_UNLCK	/* remove lock(s) */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
81
#else
82 83 84
#define F_RDLCK		_LK_NBLCK	/* read lock */
#define F_WRLCK		_LK_NBRLCK	/* write lock */
#define F_UNLCK		_LK_UNLCK	/* remove lock(s) */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
85 86
#endif

87 88
#define F_EXCLUSIVE	1		/* We have only exclusive locking */
#define F_TO_EOF	(INT_MAX32/2)	/* size for lock of all file */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
89
#define F_OK		0		/* parameter to access() */
90
#define W_OK		2
bk@work.mysql.com's avatar
bk@work.mysql.com committed
91 92 93 94 95 96 97 98 99

#define S_IROTH		S_IREAD		/* for my_lib */

#ifdef __BORLANDC__
#define FILE_BINARY	O_BINARY	/* my_fopen in binary mode */
#define O_TEMPORARY	0
#define O_SHORT_LIVED	0
#define SH_DENYNO	_SH_DENYNO
#else
100
#define O_BINARY	_O_BINARY	/* compability with older style names */
101 102 103 104
#define FILE_BINARY	_O_BINARY	/* my_fopen in binary mode */
#define O_TEMPORARY	_O_TEMPORARY
#define O_SHORT_LIVED	_O_SHORT_LIVED
#define SH_DENYNO	_SH_DENYNO
bk@work.mysql.com's avatar
bk@work.mysql.com committed
105 106 107
#endif
#define NO_OPEN_3			/* For my_create() */

108
#define SIGQUIT		SIGTERM		/* No SIGQUIT */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
109 110

#undef _REENTRANT			/* Crashes something for win32 */
111
#undef SAFE_MUTEX			/* Can't be used on windows */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
112

113 114 115 116 117 118 119 120 121 122 123
#if defined(_MSC_VER) && _MSC_VER >= 1310
#define LL(A)           A##ll
#define ULL(A)          A##ull
#else
#define LL(A)           ((__int64) A)
#define ULL(A)          ((unsigned __int64) A)
#endif

#define LONGLONG_MIN	LL(0x8000000000000000)
#define LONGLONG_MAX	LL(0x7FFFFFFFFFFFFFFF)
#define ULONGLONG_MAX	ULL(0xFFFFFFFFFFFFFFFF)
bk@work.mysql.com's avatar
bk@work.mysql.com committed
124 125 126

/* Type information */

127
#if !defined(HAVE_UINT)
128 129
#undef HAVE_UINT
#define HAVE_UINT
130 131
typedef unsigned short	ushort;
typedef unsigned int	uint;
132
#endif /* !defined(HAVE_UINT) */
133

bk@work.mysql.com's avatar
bk@work.mysql.com committed
134
typedef unsigned __int64 ulonglong;	/* Microsofts 64 bit types */
135
typedef __int64 longlong;
136
#ifndef HAVE_SIGSET_T
bk@work.mysql.com's avatar
bk@work.mysql.com committed
137
typedef int sigset_t;
138
#endif
bk@work.mysql.com's avatar
bk@work.mysql.com committed
139
#define longlong_defined
140 141 142 143 144
/*
  off_t should not be __int64 because of conflicts in header files;
  Use my_off_t or os_off_t instead
*/
#ifndef HAVE_OFF_T
145
typedef long off_t;
146
#endif
bk@work.mysql.com's avatar
bk@work.mysql.com committed
147
typedef __int64 os_off_t;
148 149 150
#ifdef _WIN64
typedef UINT_PTR rf_SetTimer;
#else
151
#ifndef HAVE_SIZE_T
152
typedef unsigned int size_t;
153
#endif
154 155
typedef uint rf_SetTimer;
#endif
bk@work.mysql.com's avatar
bk@work.mysql.com committed
156 157 158 159

#define Socket_defined
#define my_socket SOCKET
#define bool BOOL
160
#define SIGPIPE SIGINT
bk@work.mysql.com's avatar
bk@work.mysql.com committed
161 162 163 164 165 166 167 168
#define RETQSORTTYPE void
#define QSORT_TYPE_IS_VOID
#define RETSIGTYPE void
#define SOCKET_SIZE_TYPE int
#define my_socket_defined
#define bool_defined
#define byte_defined
#define HUGE_PTR
169 170 171
#define STDCALL __stdcall	    /* Used by libmysql.dll */
#define isnan(X) _isnan(X)
#define finite(X) _finite(X)
bk@work.mysql.com's avatar
bk@work.mysql.com committed
172 173 174 175 176 177

#ifndef UNDEF_THREAD_HACK
#define THREAD
#endif
#define VOID_SIGHANDLER
#define SIZEOF_CHAR		1
178
#define SIZEOF_INT		4
bk@work.mysql.com's avatar
bk@work.mysql.com committed
179 180 181
#define SIZEOF_LONG		4
#define SIZEOF_LONG_LONG	8
#define SIZEOF_OFF_T		8
182 183 184 185 186
#ifdef _WIN64
#define SIZEOF_CHARP		8
#else
#define SIZEOF_CHARP		4
#endif
bk@work.mysql.com's avatar
bk@work.mysql.com committed
187 188 189 190 191
#define HAVE_BROKEN_NETINET_INCLUDES
#ifdef __NT__
#define HAVE_NAMED_PIPE			/* We can only create pipes on NT */
#endif

192 193 194
/* ERROR is defined in wingdi.h */
#undef ERROR

195 196 197 198 199
/* We need to close files to break connections on shutdown */
#ifndef SIGNAL_WITH_VIO_CLOSE
#define SIGNAL_WITH_VIO_CLOSE
#endif

bk@work.mysql.com's avatar
bk@work.mysql.com committed
200 201 202 203
/* Use all character sets in MySQL */
#define USE_MB 1
#define USE_MB_IDENT 1
#define USE_STRCOLL 1
monty@hundin.mysql.fi's avatar
monty@hundin.mysql.fi committed
204

205 206 207 208
/* All windows servers should support .sym files */
#undef USE_SYMDIR
#define USE_SYMDIR

mmatthew@markslaptop's avatar
mmatthew@markslaptop committed
209 210 211
/* If LOAD DATA LOCAL INFILE should be enabled by default */
#define ENABLED_LOCAL_INFILE 1

bk@work.mysql.com's avatar
bk@work.mysql.com committed
212 213
/* Convert some simple functions to Posix */

214
#define my_sigset(A,B) signal((A),(B))
bk@work.mysql.com's avatar
bk@work.mysql.com committed
215 216
#define finite(A) _finite(A)
#define sleep(A)  Sleep((A)*1000)
217
#define popen(A,B) _popen((A),(B))
218
#define pclose(A) _pclose(A)
bk@work.mysql.com's avatar
bk@work.mysql.com committed
219 220 221 222 223

#ifndef __BORLANDC__
#define access(A,B) _access(A,B)
#endif

224 225 226
#if !defined(__cplusplus)
#define inline __inline
#endif /* __cplusplus */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
227 228 229 230 231 232 233 234 235

inline double rint(double nr)
{
  double f = floor(nr);
  double c = ceil(nr);
  return (((c-nr) >= (nr-f)) ? f :c);
}

#ifdef _WIN64
236 237
#define ulonglong2double(A) ((double) (ulonglong) (A))
#define my_off_t2double(A)  ((double) (my_off_t) (A))
bk@work.mysql.com's avatar
bk@work.mysql.com committed
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254

#else
inline double ulonglong2double(ulonglong value)
{
  longlong nr=(longlong) value;
  if (nr >= 0)
    return (double) nr;
  return (18446744073709551616.0 + (double) nr);
}
#define my_off_t2double(A) ulonglong2double(A)
#endif /* _WIN64 */

#if SIZEOF_OFF_T > 4
#define lseek(A,B,C) _lseeki64((A),(longlong) (B),(C))
#define tell(A) _telli64(A)
#endif

monty@mashka.mysql.fi's avatar
monty@mashka.mysql.fi committed
255

256 257
#define STACK_DIRECTION -1

bk@work.mysql.com's avatar
bk@work.mysql.com committed
258 259
/* Optimized store functions for Intel x86 */

260
#ifndef _WIN64
bk@work.mysql.com's avatar
bk@work.mysql.com committed
261 262 263 264 265 266 267 268 269 270 271
#define sint2korr(A)	(*((int16 *) (A)))
#define sint3korr(A)	((int32) ((((uchar) (A)[2]) & 128) ? \
				  (((uint32) 255L << 24) | \
				   (((uint32) (uchar) (A)[2]) << 16) |\
				   (((uint32) (uchar) (A)[1]) << 8) | \
				   ((uint32) (uchar) (A)[0])) : \
				  (((uint32) (uchar) (A)[2]) << 16) |\
				  (((uint32) (uchar) (A)[1]) << 8) | \
				  ((uint32) (uchar) (A)[0])))
#define sint4korr(A)	(*((long *) (A)))
#define uint2korr(A)	(*((uint16 *) (A)))
272 273 274 275 276 277 278
/*
   ATTENTION !
   
    Please, note, uint3korr reads 4 bytes (not 3) !
    It means, that you have to provide enough allocated space !
*/
#define uint3korr(A)	(long) (*((unsigned int *) (A)) & 0xFFFFFF)
bk@work.mysql.com's avatar
bk@work.mysql.com committed
279 280 281 282 283
#define uint4korr(A)	(*((unsigned long *) (A)))
#define uint5korr(A)	((ulonglong)(((uint32) ((uchar) (A)[0])) +\
				    (((uint32) ((uchar) (A)[1])) << 8) +\
				    (((uint32) ((uchar) (A)[2])) << 16) +\
				    (((uint32) ((uchar) (A)[3])) << 24)) +\
284
				    (((ulonglong) ((uchar) (A)[4])) << 32))
285 286 287 288 289 290
#define uint6korr(A)	((ulonglong)(((uint32)    ((uchar) (A)[0]))          + \
                                     (((uint32)    ((uchar) (A)[1])) << 8)   + \
                                     (((uint32)    ((uchar) (A)[2])) << 16)  + \
                                     (((uint32)    ((uchar) (A)[3])) << 24)) + \
                         (((ulonglong) ((uchar) (A)[4])) << 32) +       \
                         (((ulonglong) ((uchar) (A)[5])) << 40))
bk@work.mysql.com's avatar
bk@work.mysql.com committed
291 292 293 294 295 296 297 298 299 300 301 302
#define uint8korr(A)	(*((ulonglong *) (A)))
#define sint8korr(A)	(*((longlong *) (A)))
#define int2store(T,A)	*((uint16*) (T))= (uint16) (A)
#define int3store(T,A)		{ *(T)=  (uchar) ((A));\
				  *(T+1)=(uchar) (((uint) (A) >> 8));\
				  *(T+2)=(uchar) (((A) >> 16)); }
#define int4store(T,A)	*((long *) (T))= (long) (A)
#define int5store(T,A)	{ *(T)= (uchar)((A));\
			  *((T)+1)=(uchar) (((A) >> 8));\
			  *((T)+2)=(uchar) (((A) >> 16));\
			  *((T)+3)=(uchar) (((A) >> 24)); \
			  *((T)+4)=(uchar) (((A) >> 32)); }
303 304 305 306 307 308
#define int6store(T,A)	{ *(T)    =(uchar)((A));          \
			  *((T)+1)=(uchar) (((A) >> 8));  \
			  *((T)+2)=(uchar) (((A) >> 16)); \
			  *((T)+3)=(uchar) (((A) >> 24)); \
			  *((T)+4)=(uchar) (((A) >> 32)); \
			  *((T)+5)=(uchar) (((A) >> 40)); }
bk@work.mysql.com's avatar
bk@work.mysql.com committed
309 310
#define int8store(T,A)	*((ulonglong *) (T))= (ulonglong) (A)

311 312 313 314
#define doubleget(V,M)	do { *((long *) &V) = *((long*) M); \
			    *(((long *) &V)+1) = *(((long*) M)+1); } while(0)
#define doublestore(T,V) do { *((long *) T) = *((long*) &V); \
			      *(((long *) T)+1) = *(((long*) &V)+1); } while(0)
bk@work.mysql.com's avatar
bk@work.mysql.com committed
315
#define float4get(V,M) { *((long *) &(V)) = *((long*) (M)); }
316 317
#define floatstore(T,V) memcpy((uchar*)(T), (uchar*)(&V), sizeof(float))
#define floatget(V,M)   memcpy((uchar*)(&V), (uchar*)(M), sizeof(float))
bk@work.mysql.com's avatar
bk@work.mysql.com committed
318
#define float8get(V,M) doubleget((V),(M))
319
#define float4store(V,M) memcpy((uchar*) V,(uchar*) (&M),sizeof(float))
bk@work.mysql.com's avatar
bk@work.mysql.com committed
320
#define float8store(V,M) doublestore((V),(M))
321
#endif /* _WIN64 */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342

#define HAVE_PERROR
#define HAVE_VFPRINT
#define HAVE_RENAME		/* Have rename() as function */
#define HAVE_BINARY_STREAMS	/* Have "b" flag in streams */
#define HAVE_LONG_JMP		/* Have long jump function */
#define HAVE_LOCKING		/* have locking() call */
#define HAVE_ERRNO_AS_DEFINE	/* errno is a define */
#define HAVE_STDLIB		/* everything is include in this file */
#define HAVE_MEMCPY
#define HAVE_MEMMOVE
#define HAVE_GETCWD
#define HAVE_TELL
#define HAVE_TZNAME
#define HAVE_PUTENV
#define HAVE_SELECT
#define HAVE_SETLOCALE
#define HAVE_SOCKET		/* Giangi */
#define HAVE_FLOAT_H
#define HAVE_LIMITS_H
#define HAVE_STDDEF_H
343 344
#define HAVE_RINT		/* defined in this file */
#define NO_FCNTL_NONBLOCK	/* No FCNTL */
bk@work.mysql.com's avatar
bk@work.mysql.com committed
345
#define HAVE_ALLOCA
346 347
#define HAVE_STRPBRK
#define HAVE_STRSTR
bk@work.mysql.com's avatar
bk@work.mysql.com committed
348
#define HAVE_COMPRESS
349
#define HAVE_CREATESEMAPHORE
350 351
#define HAVE_ISNAN
#define HAVE_FINITE
352
#define HAVE_QUERY_CACHE
353
#define SPRINTF_RETURNS_INT
354
#define HAVE_SETFILEPOINTER
355
#define HAVE_VIO_READ_BUFF
356 357
#if defined(_MSC_VER) && _MSC_VER >= 1400
/* strnlen() appeared in Studio 2005 */
358
#define HAVE_STRNLEN
359
#endif
360
#define HAVE_WINSOCK2
361

362 363 364
#define strcasecmp stricmp
#define strncasecmp strnicmp

365 366 367 368 369
#ifndef __NT__
#undef FILE_SHARE_DELETE
#define FILE_SHARE_DELETE 0     /* Not implemented on Win 98/ME */
#endif

monty@donna.mysql.com's avatar
monty@donna.mysql.com committed
370 371 372 373 374
#ifdef NOT_USED
#define HAVE_SNPRINTF		/* Gave link error */
#define _snprintf snprintf
#endif

bk@work.mysql.com's avatar
bk@work.mysql.com committed
375 376 377 378 379 380 381 382 383
#ifdef _MSC_VER
#define HAVE_LDIV		/* The optimizer breaks in zortech for ldiv */
#define HAVE_ANSI_INCLUDE
#define HAVE_SYS_UTIME_H
#define HAVE_STRTOUL
#endif
#define my_reinterpret_cast(A) reinterpret_cast <A>
#define my_const_cast(A) const_cast<A>

monty@mashka.mysql.fi's avatar
monty@mashka.mysql.fi committed
384

bk@work.mysql.com's avatar
bk@work.mysql.com committed
385 386 387 388 389
/* MYSQL OPTIONS */

#ifdef _CUSTOMCONFIG_
#include <custom_conf.h>
#else
390
#define DEFAULT_MYSQL_HOME	"c:\\mysql"
holyfoot@deer.(none)'s avatar
holyfoot@deer.(none) committed
391
#define DATADIR         	"c:\\mysql\\data"
392
#define PACKAGE			"mysql"
bk@work.mysql.com's avatar
bk@work.mysql.com committed
393 394 395 396
#define DEFAULT_BASEDIR		"C:\\"
#define SHAREDIR		"share"
#define DEFAULT_CHARSET_HOME	"C:/mysql/"
#endif
397 398 399
#ifndef DEFAULT_HOME_ENV
#define DEFAULT_HOME_ENV MYSQL_HOME
#endif
monty@mishka.local's avatar
monty@mishka.local committed
400 401 402
#ifndef DEFAULT_GROUP_SUFFIX_ENV
#define DEFAULT_GROUP_SUFFIX_ENV MYSQL_GROUP_SUFFIX
#endif
bk@work.mysql.com's avatar
bk@work.mysql.com committed
403 404 405 406 407

/* File name handling */

#define FN_LIBCHAR	'\\'
#define FN_ROOTDIR	"\\"
408
#define FN_DEVCHAR	':'
bk@work.mysql.com's avatar
bk@work.mysql.com committed
409 410
#define FN_NETWORK_DRIVES	/* Uses \\ to indicate network drives */
#define FN_NO_CASE_SENCE	/* Files are not case-sensitive */
411
#define OS_FILE_LIMIT	2048
bk@work.mysql.com's avatar
bk@work.mysql.com committed
412

413
#define DO_NOT_REMOVE_THREAD_WRAPPERS
bk@work.mysql.com's avatar
bk@work.mysql.com committed
414
#define thread_safe_increment(V,L) InterlockedIncrement((long*) &(V))
serg@serg.mylan's avatar
serg@serg.mylan committed
415
#define thread_safe_decrement(V,L) InterlockedDecrement((long*) &(V))
bk@work.mysql.com's avatar
bk@work.mysql.com committed
416 417 418 419 420
/* The following is only used for statistics, so it should be good enough */
#ifdef __NT__  /* This should also work on Win98 but .. */
#define thread_safe_add(V,C,L) InterlockedExchangeAdd((long*) &(V),(C))
#define thread_safe_sub(V,C,L) InterlockedExchangeAdd((long*) &(V),-(long) (C))
#endif
421 422

#define shared_memory_buffer_length 16000
monty@narttu.mysql.fi's avatar
monty@narttu.mysql.fi committed
423
#define default_shared_memory_base_name "MYSQL"
kent@mysql.com's avatar
kent@mysql.com committed
424

425 426
#define MYSQL_DEFAULT_CHARSET_NAME "latin1"
#define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci"
427

428
#define HAVE_SPATIAL 1
429
#define HAVE_RTREE_KEYS 1
430

431 432
#define HAVE_OPENSSL 1
#define HAVE_YASSL 1
kent@mysql.com's avatar
kent@mysql.com committed
433

434 435 436 437 438 439 440 441 442 443 444
/* Define charsets you want */
/* #undef HAVE_CHARSET_armscii8 */
/* #undef HAVE_CHARSET_ascii */
#define HAVE_CHARSET_big5 1
#define HAVE_CHARSET_cp1250 1
/* #undef HAVE_CHARSET_cp1251 */
/* #undef HAVE_CHARSET_cp1256 */
/* #undef HAVE_CHARSET_cp1257 */
/* #undef HAVE_CHARSET_cp850 */
/* #undef HAVE_CHARSET_cp852 */
/* #undef HAVE_CHARSET_cp866 */
445
#define HAVE_CHARSET_cp932 1
446
/* #undef HAVE_CHARSET_dec8 */
447
#define HAVE_CHARSET_eucjpms 1
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468
#define HAVE_CHARSET_euckr 1
#define HAVE_CHARSET_gb2312 1
#define HAVE_CHARSET_gbk 1
/* #undef HAVE_CHARSET_greek */
/* #undef HAVE_CHARSET_hebrew */
/* #undef HAVE_CHARSET_hp8 */
/* #undef HAVE_CHARSET_keybcs2 */
/* #undef HAVE_CHARSET_koi8r */
/* #undef HAVE_CHARSET_koi8u */
#define HAVE_CHARSET_latin1 1
#define HAVE_CHARSET_latin2 1
/* #undef HAVE_CHARSET_latin5 */
/* #undef HAVE_CHARSET_latin7 */
/* #undef HAVE_CHARSET_macce */
/* #undef HAVE_CHARSET_macroman */
#define HAVE_CHARSET_sjis 1
/* #undef HAVE_CHARSET_swe7 */
#define HAVE_CHARSET_tis620 1
#define HAVE_CHARSET_ucs2 1
#define HAVE_CHARSET_ujis 1
#define HAVE_CHARSET_utf8 1
bar@mysql.com's avatar
bar@mysql.com committed
469
#define HAVE_UCA_COLLATIONS 1
470