From 21daa7b9298d31ab1c6ddd1159dba29acea8d868 Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Mon, 10 Aug 2015 21:45:11 +0200 Subject: MDEV-6066: Merge new defaults from 5.6 and 5.7 (autoset) --autoset- command line prefix added --- include/my_getopt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/my_getopt.h') diff --git a/include/my_getopt.h b/include/my_getopt.h index 499cefd93d6..8c3d2db5cda 100644 --- a/include/my_getopt.h +++ b/include/my_getopt.h @@ -40,7 +40,8 @@ C_MODE_START #define GET_FLAGSET 15 #define GET_ASK_ADDR 128 -#define GET_TYPE_MASK 127 +#define GET_AUTO 64 +#define GET_TYPE_MASK 63 /** Enumeration of the my_option::arg_type attributes. @@ -100,6 +101,7 @@ typedef void *(*my_getopt_value)(const char *, uint, const struct my_option *, extern char *disabled_my_option; +extern char *autoset_my_option; extern my_bool my_getopt_print_errors; extern my_bool my_getopt_skip_unknown; extern my_bool my_getopt_prefix_matching; -- cgit v1.2.1