Debian Codegraph @

texk/psutils/texlive.h

raw
1 /* texlive.h: TeX Live specific declarations - included from config.h
2
3 Copyright 2014 Peter Breitenlohner.
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with this library; if not, see <http://www.gnu.org/licenses/>. */
17
18 #include <kpathsea/kpathsea.h>
19
20 #undef _Noreturn /* Cygwin defines this */
21 #define _Noreturn
22 #define _GL_ATTRIBUTE_CONST
23
24 #ifdef WIN32
25 # define set_binary_mode(file, mode) _setmode(file, mode)
26 # ifndef __MINGW32__
27 # define ftello _ftelli64
28 # define fseeko _fseeki64
29 # endif
30 #else
31 # define set_binary_mode(file, mode) 0
32 #endif
33