1 /***************************************************************************
3 openurl.library - universal URL display and browser launcher library
4 Copyright (C) 1998-2005 by Troels Walsted Hansen, et al.
5 Copyright (C) 2005-2013 by openurl.library Open Source Team
7 This library is free software; it has been placed in the public domain
8 and you can freely redistribute it and/or modify it. Please note, however,
9 that some components may be under the LGPL or GPL license.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 openurl.library project: http://sourceforge.net/projects/openurllib/
19 ***************************************************************************/
26 // for setting all necessary version information
28 #define LIB_REVISION 15
29 #define LIB_DATE "05.04.2014"
30 #define LIB_COPYRIGHT "Copyright (C) 2005-2014 openurl.library Open Source Team"
32 // set the LIB_REV_STRING
33 #define LIB_REV_STRING STR(LIB_VERSION) "." STR(LIB_REVISION)
35 // identify the system we are compiling for
36 #if defined(__amigaos4__)
37 #define SYSTEM "AmigaOS4"
38 #define SYSTEMSHORT "OS4"
39 #elif defined(__MORPHOS__)
40 #define SYSTEM "MorphOS"
41 #define SYSTEMSHORT "MOS"
42 #elif defined(__AROS__)
44 #define SYSTEMSHORT SYSTEM
45 #elif defined(__AMIGA__)
46 #define SYSTEM "AmigaOS3"
47 #define SYSTEMSHORT "OS3"
49 #warning "Unsupported System - check SYSTEM define"
51 #define SYSTEMSHORT "???"
54 // identify the CPU model
55 #if defined(__PPC__) || defined(__powerpc__)
57 #elif defined(_M68060) || defined(__M68060) || defined(__mc68060)
59 #elif defined(_M68040) || defined(__M68040) || defined(__mc68040)
61 #elif defined(_M68030) || defined(__M68030) || defined(__mc68030)
63 #elif defined(_M68020) || defined(__M68020) || defined(__mc68020)
65 #elif defined(_M68000) || defined(__M68000) || defined(__mc68000)
67 #elif defined(__i386__)
69 #elif defined(__x86_64__)
71 #elif defined(__arm__)
74 #warning "Unsupported CPU model - check CPU define"