Commit b9cb8c9d authored by antony@ppcg5.local's avatar antony@ppcg5.local

fix windows build failure

  VC++ does not like compile_time_assert() macro
parent ad0f8fd1
......@@ -1772,8 +1772,10 @@ st_lex::st_lex()
:result(0), yacc_yyss(0), yacc_yyvs(0),
sql_command(SQLCOM_END)
{
#ifndef __WIN__
/* Check that plugins_static_buffer is declared immediately after plugins */
compile_time_assert((&plugins + 1) == (DYNAMIC_ARRAY*)plugins_static_buffer);
#endif
my_init_dynamic_array2(&plugins, sizeof(plugin_ref),
plugins_static_buffer,
......
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