diff options
Diffstat (limited to 'src/linkedlist.h')
-rw-r--r-- | src/linkedlist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/linkedlist.h b/src/linkedlist.h index 7f147b1..4434766 100644 --- a/src/linkedlist.h +++ b/src/linkedlist.h @@ -76,7 +76,11 @@ void list_add(struct list_head *new, struct list_head *head); void __list_add(struct list_head *new, struct list_head *prev, struct list_head *next); +#if __GNUC__ > 3 +#define prefetch __builtin_prefetch +#else void prefetch(const void *x); +#endif /* Return the last element in the list. */ #define list_last(last, head, member) \ |