2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Original version from libnix
7 #define AROS_LIBREQ(base,ver) /* We test for versions manually */
11 /*****************************************************************************
14 #include <proto/alib.h>
38 06.12.96 digulla Created after original from libnix
40 ******************************************************************************/
42 # define poolHeader ((POOL*)pool)
43 if (SysBase
->LibNode
.lib_Version
>=39)
44 DeletePool(poolHeader
);
47 if (poolHeader
!= NULL
)
52 while ((poolMem
= (ULONG
*)RemHead (
53 (struct List
*)&poolHeader
->PuddleList
)
58 FreeMem (poolMem
, size
);
61 FreeMem (poolHeader
, sizeof (POOL
));