grub2: bring back build of aros-side grub2 tools
[AROS.git] / tools / flexcat / src / include / proto / codesets.h
blob2b8b0f87130d23d845b95550dcc28748d693b2df
1 #ifndef PROTO_CODESETS_H
2 #define PROTO_CODESETS_H
4 /***************************************************************************
6 codesets.library - Amiga shared library for handling different codesets
7 Copyright (C) 2001-2005 by Alfonso [alfie] Ranieri <alforan@tin.it>.
8 Copyright (C) 2005-2014 codesets.library Open Source Team
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 codesets.library project: http://sourceforge.net/projects/codesetslib/
22 $Id$
24 ***************************************************************************/
26 #ifndef LIBRARIES_CODESETS_H
27 #include <libraries/codesets.h>
28 #endif
30 /****************************************************************************/
32 #ifndef __NOLIBBASE__
33 #ifndef __USE_BASETYPE__
34 extern struct Library * CodesetsBase;
35 #else
36 extern struct Library * CodesetsBase;
37 #endif /* __USE_BASETYPE__ */
38 #endif /* __NOLIBBASE__ */
40 /****************************************************************************/
42 #ifdef __amigaos4__
43 #include <interfaces/codesets.h>
44 #ifdef __USE_INLINE__
45 #include <inline4/codesets.h>
46 #endif /* __USE_INLINE__ */
47 #ifndef CLIB_CODESETS_PROTOS_H
48 #define CLIB_CODESETS_PROTOS_H 1
49 #endif /* CLIB_CODESETS_PROTOS_H */
50 #ifndef __NOGLOBALIFACE__
51 extern struct CodesetsIFace *ICodesets;
52 #endif /* __NOGLOBALIFACE__ */
53 #else /* __amigaos4__ */
54 #ifndef CLIB_CODESETS_PROTOS_H
55 #include <clib/codesets_protos.h>
56 #endif /* CLIB_CODESETS_PROTOS_H */
57 #if defined(__GNUC__)
58 #ifdef __AROS__
59 #include <defines/codesets.h>
60 #else
61 #ifndef __PPC__
62 #include <inline/codesets.h>
63 #else
64 #include <ppcinline/codesets.h>
65 #endif /* __PPC__ */
66 #endif /* __AROS__ */
67 #elif defined(__VBCC__)
68 #ifndef __PPC__
69 #include <inline/codesets_protos.h>
70 #endif /* __PPC__ */
71 #else
72 #include <pragmas/codesets_pragmas.h>
73 #endif /* __GNUC__ */
74 #endif /* __amigaos4__ */
76 /****************************************************************************/
78 #endif /* PROTO_CODESETS_H */