comparison kdiff3/src/gnudiff_system.h @ 53:32d5cbf9db71

Corrections for 0.9.81: - Fix for configure --enable-final - Bugfixes - First steps towards internationalisation
author joachim99
date Tue, 20 Jan 2004 20:19:59 +0000
parents ba22ec30aa4e
children 8febbfb1148c
comparison
equal deleted inserted replaced
52:ba22ec30aa4e 53:32d5cbf9db71
1 /* System dependent declarations. 1 /* System dependent declarations.
2 2
3 Modified for KDiff3 by Joachim Eibl 2003. 3 Modified for KDiff3 by Joachim Eibl 2003.
4 The original file was part of GNU DIFF.
4 5
5 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1998, 2001, 2002 6 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1998, 2001, 2002
6 Free Software Foundation, Inc. 7 Free Software Foundation, Inc.
7
8 This file is part of GNU DIFF.
9 8
10 GNU DIFF is free software; you can redistribute it and/or modify 9 GNU DIFF is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option) 11 the Free Software Foundation; either version 2, or (at your option)
13 any later version. 12 any later version.
20 You should have received a copy of the GNU General Public License 19 You should have received a copy of the GNU General Public License
21 along with this program; see the file COPYING. 20 along with this program; see the file COPYING.
22 If not, write to the Free Software Foundation, 21 If not, write to the Free Software Foundation,
23 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 22 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
24 23
24 #ifndef GNUDIFF_SYSTEM_H
25 #define GNUDIFF_SYSTEM_H
26
25 //#include <config.h> 27 //#include <config.h>
28
29
26 30
27 /* Don't bother to support K&R C compilers any more; it's not worth 31 /* Don't bother to support K&R C compilers any more; it's not worth
28 the trouble. These macros prevent some library modules from being 32 the trouble. These macros prevent some library modules from being
29 compiled in K&R C mode. */ 33 compiled in K&R C mode. */
30 #define PARAMS(Args) Args 34 #define PARAMS(Args) Args
129 typedef ptrdiff_t lin; 133 typedef ptrdiff_t lin;
130 #define LIN_MAX PTRDIFF_MAX 134 #define LIN_MAX PTRDIFF_MAX
131 verify (lin_is_signed, TYPE_SIGNED (lin)); 135 verify (lin_is_signed, TYPE_SIGNED (lin));
132 verify (lin_is_wide_enough, sizeof (ptrdiff_t) <= sizeof (lin)); 136 verify (lin_is_wide_enough, sizeof (ptrdiff_t) <= sizeof (lin));
133 verify (lin_is_printable_as_long, sizeof (lin) <= sizeof (long)); 137 verify (lin_is_printable_as_long, sizeof (lin) <= sizeof (long));
138
139 #endif