mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Use IsMinListEmpty() for MinList rather than IsListEmpty().
This removes the warnings about breaking the strict-aliasing rules.
This commit is contained in:
@@ -93,6 +93,13 @@
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#ifndef IsMinListEmpty
|
||||
#define IsMinListEmpty(ml) \
|
||||
((struct MinList *)((ml)->mlh_TailPred) == (struct MinList *)(ml))
|
||||
#endif
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#ifndef AMIGA_COMPILER_H
|
||||
|
||||
#ifdef __SASC
|
||||
|
||||
Reference in New Issue
Block a user