cdrom: change pause timing again
[pcsx_rearmed.git] / frontend / plugin.h
index e7a5645..a96d609 100644 (file)
@@ -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__ */