repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add NOWARN_SIZEOF_POINTER_MEMACCESS
[AROS.git]
/
rom
/
partition
/
platform.h
blob
2db63e72fc103bdbcbf42323c15a6180ed38757c
1
#ifndef PLATFORM_H
2
#define PLATFORM_H
3
4
#include
"compilerspecific.h"
5
#include
"arosmacros.h"
6
7
#ifdef __AMIGAOS__
8
#define NEWLIST(_l) \
9
do \
10
{ \
11
struct List *l = (struct List *)(_l); \
12
\
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
18
19
#endif
/* PLATFORM_H */
20