Commit 8ed86cb1 authored by sergefp@mysql.com's avatar sergefp@mysql.com

Fix compile errors in VC++ 7.0

parent e3bdd6c6
...@@ -105,6 +105,15 @@ typedef struct my_locale_st ...@@ -105,6 +105,15 @@ typedef struct my_locale_st
TYPELIB *ab_month_names; TYPELIB *ab_month_names;
TYPELIB *day_names; TYPELIB *day_names;
TYPELIB *ab_day_names; TYPELIB *ab_day_names;
#ifdef __cplusplus
my_locale_st(const char *name_par, const char *descr_par, bool is_ascii_par,
TYPELIB *month_names_par, TYPELIB *ab_month_names_par,
TYPELIB *day_names_par, TYPELIB *ab_day_names_par) :
name(name_par), description(descr_par), is_ascii(is_ascii_par),
month_names(month_names_par), ab_month_names(ab_month_names),
day_names(day_names_par), ab_day_names(ab_day_names_par)
{}
#endif
} MY_LOCALE; } MY_LOCALE;
extern MY_LOCALE my_locale_en_US; extern MY_LOCALE my_locale_en_US;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment