use new platform macros to access scheduling/per-cpu flags. fix execsmp wait()
[AROS.git] / workbench / tools / HDToolBox / platform.h
blobad460f6eed7a122601c01b7bac60e7238e4eef78
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)
18 #endif
20 #endif /* PLATFORM_H */