notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add 68k overclocking support
[picodrive.git]
/
pico
/
pico_port.h
diff --git
a/pico/pico_port.h
b/pico/pico_port.h
index
605778d
..
7080220
100644
(file)
--- a/
pico/pico_port.h
+++ b/
pico/pico_port.h
@@
-10,9
+10,11
@@
#ifdef __GNUC__
#define NOINLINE __attribute__((noinline))
#define ALIGNED(n) __attribute__((aligned(n)))
+#define unlikely(x) __builtin_expect((x), 0)
#else
#define NOINLINE
#define ALIGNED(n)
+#define unlikely(x) (x)
#endif
#ifdef _MSC_VER