Fix up a missing const attribute.

The problem with having such a complex build system :P
This commit is contained in:
Bill Currie 2018-10-11 11:29:12 +09:00
parent 61185813fa
commit 9501d30a8f

View file

@ -40,7 +40,7 @@
#ifdef STATIC_PLUGINS
#define PLUGIN_INFO(type,name) plugin_t *type##_##name##_PluginInfo (void); __attribute__((const)) plugin_t * type##_##name##_PluginInfo (void)
#else
#define PLUGIN_INFO(type,name) plugin_t *PluginInfo (void); __attribute__((visibility ("default"))) plugin_t *PluginInfo (void)
#define PLUGIN_INFO(type,name) plugin_t *PluginInfo (void); __attribute__((visibility ("default"),const)) plugin_t *PluginInfo (void)
#endif
typedef enum {