Commit dc9706fc authored by Michael Widenius's avatar Michael Widenius

Added define to get rid of compiler warnings on system without DLOPEN

parent b15bf935
......@@ -22,6 +22,8 @@ struct st_service_ref {
void *service;
};
#ifdef HAVE_DLOPEN
static struct my_snprintf_service_st my_snprintf_handler = {
my_snprintf,
my_vsnprintf
......@@ -41,4 +43,4 @@ static struct st_service_ref list_of_services[]=
{ "my_snprintf_service", VERSION_my_snprintf, &my_snprintf_handler },
{ "thd_alloc_service", VERSION_thd_alloc, &thd_alloc_handler }
};
#endif
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