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>
40 06.12.96 digulla Created after original from libnix
42 ******************************************************************************/
44 if (SysBase
->LibNode
.lib_Version
>= 39)
45 return (CreatePool (requirements
, puddleSize
, threshSize
));
50 if (threshSize
<= puddleSize
)
52 if ((pool
= (POOL
*)AllocMem (sizeof (POOL
), MEMF_ANY
)) != NULL
)
54 NEWLIST (&pool
->PuddleList
);
56 puddleSize
= ((puddleSize
+ 7) & ~7);
58 pool
->MemoryFlags
= requirements
;
59 pool
->PuddleSize
= puddleSize
;
60 pool
->ThreshSize
= threshSize
;