1 /***************************************************************************
3 NListview.mcc - New Listview MUI Custom Class
4 Registered MUI class, Serial Number: 1d51 (0x9d510020 to 0x9d51002F)
6 Copyright (C) 1996-2001 by Gilles Masson
7 Copyright (C) 2001-2014 NList Open Source Team
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 NList classes Support Site: http://www.sf.net/projects/nlist-classes
23 ***************************************************************************/
28 // transforms a define into a string
29 #define STR(x) STR2(x)
32 // for setting all necessary version information
33 #define LIB_VERSION 19
34 #define LIB_REVISION 93
35 #define LIB_DATE "05.04.2014"
36 #define LIB_COPYRIGHT "Copyright (C) 2001-2014 NList Open Source Team"
38 // set the LIB_REV_STRING
39 #define LIB_REV_STRING STR(LIB_VERSION) "." STR(LIB_REVISION)
41 // identify the system we are compiling for
42 #if defined(__amigaos4__)
43 #define SYSTEM "AmigaOS4"
44 #define SYSTEMSHORT "OS4"
45 #elif defined(__MORPHOS__)
46 #define SYSTEM "MorphOS"
47 #define SYSTEMSHORT "MOS"
48 #elif defined(__AROS__)
50 #define SYSTEMSHORT SYSTEM
51 #elif defined(__AMIGA__)
52 #define SYSTEM "AmigaOS3"
53 #define SYSTEMSHORT "OS3"
55 #warning "Unsupported System - check SYSTEM define"
57 #define SYSTEMSHORT "???"
60 // identify the CPU model
63 #elif defined(__PPC__) || defined(__powerpc__)
65 #elif defined(_M68060) || defined(__M68060) || defined(__mc68060)
67 #elif defined(_M68040) || defined(__M68040) || defined(__mc68040)
69 #elif defined(_M68030) || defined(__M68030) || defined(__mc68030)
71 #elif defined(_M68020) || defined(__M68020) || defined(__mc68020)
73 #elif defined(_M68000) || defined(__M68000) || defined(__mc68000)
75 #elif defined(__i386__)
77 #elif defined(__x86_64__)
80 #warning "Unsupported CPU model - check CPU define"