##// END OF EJS Templates
xdiff: backport int64_t and uint64_t types to Windows...
Matt Harbison -
r36932:d255744d default
parent child Browse files
Show More
@@ -1,41 +1,47 b''
1 /*
1 /*
2 * LibXDiff by Davide Libenzi ( File Differential Library )
2 * LibXDiff by Davide Libenzi ( File Differential Library )
3 * Copyright (C) 2003 Davide Libenzi
3 * Copyright (C) 2003 Davide Libenzi
4 *
4 *
5 * This library is free software; you can redistribute it and/or
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
8 * version 2.1 of the License, or (at your option) any later version.
9 *
9 *
10 * This library is distributed in the hope that it will be useful,
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
13 * Lesser General Public License for more details.
14 *
14 *
15 * You should have received a copy of the GNU Lesser General Public
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, see
16 * License along with this library; if not, see
17 * <http://www.gnu.org/licenses/>.
17 * <http://www.gnu.org/licenses/>.
18 *
18 *
19 * Davide Libenzi <davidel@xmailserver.org>
19 * Davide Libenzi <davidel@xmailserver.org>
20 *
20 *
21 */
21 */
22
22
23 #if !defined(XINCLUDE_H)
23 #if !defined(XINCLUDE_H)
24 #define XINCLUDE_H
24 #define XINCLUDE_H
25
25
26 #include <ctype.h>
26 #include <ctype.h>
27 #if !defined(_MSC_VER) || _MSC_VER >= 1600
27 #include <stdint.h>
28 #include <stdint.h>
29 #else
30 /* prior to Visual Studio 2010 */
31 typedef long long int64_t;
32 typedef unsigned long long uint64_t;
33 #endif
28 #include <stdio.h>
34 #include <stdio.h>
29 #include <stdlib.h>
35 #include <stdlib.h>
30 #include <string.h>
36 #include <string.h>
31 #include <limits.h>
37 #include <limits.h>
32
38
33 #include "xmacros.h"
39 #include "xmacros.h"
34 #include "xdiff.h"
40 #include "xdiff.h"
35 #include "xtypes.h"
41 #include "xtypes.h"
36 #include "xutils.h"
42 #include "xutils.h"
37 #include "xprepare.h"
43 #include "xprepare.h"
38 #include "xdiffi.h"
44 #include "xdiffi.h"
39
45
40
46
41 #endif /* #if !defined(XINCLUDE_H) */
47 #endif /* #if !defined(XINCLUDE_H) */
General Comments 0
You need to be logged in to leave comments. Login now