diff options
Diffstat (limited to 'amiga/os3support.h')
-rw-r--r-- | amiga/os3support.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/os3support.h b/amiga/os3support.h index f94efc107..319d3b319 100644 --- a/amiga/os3support.h +++ b/amiga/os3support.h @@ -143,8 +143,8 @@ /* Exec */ #define AllocVecTagList(SZ,TAG) AllocVec(SZ,MEMF_ANY) /* AllocVecTagList with no tags */ #define FindIName FindName -#define GetPred(N) (N)->ln_Pred -#define GetSucc(N) (N)->ln_Succ +#define GetPred(N) N ? (N)->ln_Pred : NULL +#define GetSucc(N) N ? (N)->ln_Succ : NULL /* Gfx */ #define SetRPAttrs(...) (void)0 /*\todo Probably need to emulate this */ |