wok view zsnes/stuff/zsnes.patch @ rev 7372
Up: lftp to 4.1.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 24 18:03:17 2010 +0000 (2010-11-24) |
parents | |
children |
line source
1 diff -cr zsnes_1_51/src/parsegen.cpp zsnes_1_51-patched/src/parsegen.cpp
2 *** zsnes_1_51/src/parsegen.cpp 2007-10-31 01:30:26.000000000 -0300
3 --- zsnes_1_51-patched/src/parsegen.cpp 2008-07-13 18:28:53.000000000 -0300
4 ***************
5 *** 19,24 ****
6 --- 19,27 ----
7 Config file handler creator by Nach (C) 2005-2007
8 */
10 + #include <cstring>
11 + #include <cstdlib>
12 +
13 #if !defined(__GNUC__) && !defined(_MSC_VER)
14 #error You are using an unsupported compiler
15 #endif
16 ***************
17 *** 1822,1828 ****
18 }
19 }
21 ! int main(size_t argc, const char *const *const argv)
22 {
23 const char *cheader_file = 0;
24 bool compile = false;
25 --- 1825,1831 ----
26 }
27 }
29 ! int main(int argc, const char *const *const argv)
30 {
31 const char *cheader_file = 0;
32 bool compile = false;
33 diff -cr zsnes_1_51/src/tools/depbuild.cpp zsnes_1_51-patched/src/tools/depbuild.cpp
34 *** zsnes_1_51/src/tools/depbuild.cpp 2006-12-27 08:04:05.000000000 -0300
35 --- zsnes_1_51-patched/src/tools/depbuild.cpp 2008-07-13 18:30:46.000000000 -0300
36 ***************
37 *** 183,189 ****
38 }
39 }
41 ! int main(size_t argc, const char *const *const argv)
42 {
43 if (argc < 5)
44 {
45 --- 183,189 ----
46 }
47 }
49 ! int main(int argc, const char *const *const argv)
50 {
51 if (argc < 5)
52 {
53 diff -cr zsnes_1_51/src/tools/strutil.h zsnes_1_51-patched/src/tools/strutil.h
54 *** zsnes_1_51/src/tools/strutil.h 2006-12-27 08:04:05.000000000 -0300
55 --- zsnes_1_51-patched/src/tools/strutil.h 2008-07-13 18:30:27.000000000 -0300
56 ***************
57 *** 15,20 ****
58 --- 15,23 ----
59 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
60 */
62 + #include <cstring>
63 + #include <cstdlib>
64 +
65 /*
66 This is part of a toolkit used to assist in ZSNES development
67 */