notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set memcard paths, rm dead code
[pcsx_rearmed.git]
/
frontend
/
plugin_lib.h
diff --git
a/frontend/plugin_lib.h
b/frontend/plugin_lib.h
index
cfb9bd1
..
a1400e9
100644
(file)
--- a/
frontend/plugin_lib.h
+++ b/
frontend/plugin_lib.h
@@
-27,3
+27,7
@@
void pl_fbdev_flip(void);
void pl_fbdev_finish(void);
void pl_text_out16(int x, int y, const char *texto, ...);
+
+#ifndef ARRAY_SIZE
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
+#endif