4 /***************************************************************************
6 NList.mcc - New List MUI Custom Class
7 Registered MUI class, Serial Number: 1d51 0x9d510030 to 0x9d5100A0
8 0x9d5100C0 to 0x9d5100FF
10 Copyright (C) 1996-2001 by Gilles Masson
11 Copyright (C) 2001-2014 NList Open Source Team
13 This library is free software; you can redistribute it and/or
14 modify it under the terms of the GNU Lesser General Public
15 License as published by the Free Software Foundation; either
16 version 2.1 of the License, or (at your option) any later version.
18 This library is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
23 NList classes Support Site: http://www.sf.net/projects/nlist-classes
27 ***************************************************************************/
29 // since the Amiga's timeval structure was renamed to
30 // "struct TimeVal" in OS4 (to prevent clashes with the POSIX one)
31 // we require to define that slightly compatible structure on our
32 // own in case we compile YAM for something else than OS4 or in case
33 // an older SDK is used.
34 #if !defined(__amigaos4__) || !defined(__NEW_TIMEVAL_DEFINITION_USED__)
46 struct IORequest Request
;
50 #define TIMEVAL(x) (APTR)(x)
54 #define TIMEVAL(x) (x)
58 #endif /* TIMEVAL_H */