2 * Copyright (C) 2000, Matias Atria
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 #ifndef _MDVI_PRIVATE_H
19 #define _MDVI_PRIVATE_H 1
21 #define HAVE_PROTOTYPES 1
22 #include <kpathsea/debug.h>
23 #include <kpathsea/tex-file.h>
24 #include <kpathsea/tex-glyph.h>
25 #include <kpathsea/cnf.h>
26 #include <kpathsea/proginit.h>
27 #include <kpathsea/progname.h>
28 #include <kpathsea/tex-make.h>
30 #define ISSP(p) (*(p) == ' ' || *(p) == '\t')
31 #define SKIPSP(p) while(ISSP(p)) p++
32 #define SKIPNSP(p) while(*(p) && !ISSP(p)) p++
36 #define _(x) gettext(x)
41 #endif /* ENABLE_NLS */
43 #if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
44 #define _BREAKPOINT() do { __asm__ __volatile__ ("int $03"); } while(0)
45 #elif defined (__alpha__) && defined (__GNUC__) && __GNUC__ >= 2
46 #define _BREAKPOINT() do { __asm__ __volatile__ ("bpt"); } while(0)
47 #else /* !__i386__ && !__alpha__ */
51 #endif /* _MDVI_PRIVATE_H */