Debian Codegraph @

texk/kpathsea/c-proto.h

raw
1 /* c-proto.h: macros to include or discard prototypes.
2
3 Copyright 1992, 1993, 1995, 1996, 2008, 2009 Karl Berry.
4 Copyright 1999, 2000, 2001, 2003, 2004, 2005 Olaf Weber.
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
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. See the GNU
14 Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with this library; if not, see <http://www.gnu.org/licenses/>. */
18
19 #ifndef KPATHSEA_C_PROTO_H
20 #define KPATHSEA_C_PROTO_H
21
22 #if defined (WIN32) && !defined (__MINGW32__) && !defined (NO_KPSE_DLL)
23 #define KPSE_DLL 1
24 #endif /* WIN32 && ! __MINGW32__ */
25
26 #if defined (KPSE_DLL) && (defined (WIN32) || defined (__CYGWIN__))
27 #ifdef MAKE_KPSE_DLL
28 #define KPSEDLL __declspec(dllexport)
29 #else /* ! MAKE_KPSE_DLL */
30 #define KPSEDLL __declspec(dllimport)
31 #endif
32 #else /* ! (KPSE_DLL && (WIN32 || __CYGWIN__)) */
33 #define KPSEDLL
34 #endif
35
36 #endif /* not KPATHSEA_C_PROTO_H */