X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin.h;h=a96d6098d2afe3bfc7ec35da8b34a389d4643ad6;hb=HEAD;hp=e7a56453499976ec25597d74685c6f0c2b602cc9;hpb=201c21e2ad6be25a4b843d1434eabb432ce72884;p=pcsx_rearmed.git diff --git a/frontend/plugin.h b/frontend/plugin.h index e7a56453..a96d6098 100644 --- a/frontend/plugin.h +++ b/frontend/plugin.h @@ -1,4 +1,9 @@ +#ifndef __PLUGIN_H__ +#define __PLUGIN_H__ + +#ifndef ARRAY_SIZE #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) +#endif #define PLUGIN_DL_BASE 0xfbad0000 @@ -12,3 +17,5 @@ enum builtint_plugins_e { void *plugin_link(enum builtint_plugins_e id, const char *sym); void plugin_call_rearmed_cbs(void); + +#endif /* __PLUGIN_H__ */