OSDN Git Service

updated with TeX Live 2014.
[putex/putex.git] / src / dvipdfmx-pu / src / system.h
1 /*  
2     
3     This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
4
5     Copyright (C) 2002-2012 by Jin-Hwan Cho and Shunsaku Hirata,
6     the dvipdfmx project team.
7     
8     Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu>
9
10     This program is free software; you can redistribute it and/or modify
11     it under the terms of the GNU General Public License as published by
12     the Free Software Foundation; either version 2 of the License, or
13     (at your option) any later version.
14     
15     This program 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
18     GNU General Public License for more details.
19     
20     You should have received a copy of the GNU General Public License
21     along with this program; if not, write to the Free Software
22     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
23 */
24
25 #ifndef _SYSTEM_H_
26 #define _SYSTEM_H_
27
28 #ifdef MIKTEX
29 #include <miktex/Core/Core>
30 #include "gnu-miktex.h"
31 #include <miktex/KPSE/Emulation>
32 #else
33 #include <kpathsea/c-auto.h>
34 #include <kpathsea/kpathsea.h>
35 #endif
36
37 #ifdef WIN32
38 #  undef ERROR
39 #  undef NO_ERROR
40 #  undef RGB
41 #  undef CMYK
42 #  undef SETLINECAP
43 #  undef SETLINEJOIN
44 #  undef SETMITERLIMIT
45 #  pragma warning(disable : 4101 4018)
46 #else
47 #  ifndef __cdecl
48 #  define __cdecl
49 #  endif
50 #  define CDECL
51 #endif /* WIN32 */
52
53 #endif /* _SYSTEM_H_ */