move delay code into separate function.
[AROS.git] / rom / partition / platform.h
blob2db63e72fc103bdbcbf42323c15a6180ed38757c
1 #ifndef PLATFORM_H
2 #define PLATFORM_H
4 #include "compilerspecific.h"
5 #include "arosmacros.h"
7 #ifdef __AMIGAOS__
8 #define NEWLIST(_l) \
9 do \
10 { \
11 struct List *l = (struct List *)(_l); \
13 l->lh_TailPred = (struct Node *)l; \
14 l->lh_Tail = 0; \
15 l->lh_Head = (struct Node *)&l->lh_Tail; \
16 } while (0)
17 #endif
19 #endif /* PLATFORM_H */