summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-01-04 13:37:24 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-01-04 13:37:24 +0000
commitd7ed7006ac71aacf722446f6eafc330f1599dd40 (patch)
treef6aa5cba4bb283f3a7f3c69a005a8616458851ba /legacy
parent88292a5266b5aee674320f2daca586cbb725334c (diff)
* src/lib/dlfcn/dlfcn.h:
define (temporary) PATH_MAX on Windows CE. cegcc has a bug with limits.h. * src/lib/evil_stdio.c: * src/lib/evil_stdio.h: undefine temporary the definition of perror() on Windows CE SVN revision: 55845
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evil/ChangeLog10
-rw-r--r--legacy/evil/src/lib/dlfcn/dlfcn.h6
-rw-r--r--legacy/evil/src/lib/evil_stdio.c8
-rw-r--r--legacy/evil/src/lib/evil_stdio.h2
4 files changed, 21 insertions, 5 deletions
diff --git a/legacy/evil/ChangeLog b/legacy/evil/ChangeLog
index a23aaa8440..9156d09a19 100644
--- a/legacy/evil/ChangeLog
+++ b/legacy/evil/ChangeLog
@@ -1,3 +1,13 @@
12011-01-04 Vincent Torri <doursse at users dot sf dot net>
2
3 * src/lib/dlfcn/dlfcn.h:
4 define (temporary) PATH_MAX on Windows CE.
5 cegcc has a bug with limits.h.
6
7 * src/lib/evil_stdio.c:
8 * src/lib/evil_stdio.h:
9 undefine temporary the definition of perror() on Windows CE
10
12010-12-18 Vincent Torri <doursse at users dot sf dot net> 112010-12-18 Vincent Torri <doursse at users dot sf dot net>
2 12
3 * src/lib/libgen.c: 13 * src/lib/libgen.c:
diff --git a/legacy/evil/src/lib/dlfcn/dlfcn.h b/legacy/evil/src/lib/dlfcn/dlfcn.h
index ae31cbae1d..b388b4fcde 100644
--- a/legacy/evil/src/lib/dlfcn/dlfcn.h
+++ b/legacy/evil/src/lib/dlfcn/dlfcn.h
@@ -26,6 +26,12 @@
26extern "C" { 26extern "C" {
27#endif 27#endif
28 28
29#ifdef _WIN32_WCE
30# ifndef PATH_MAX
31# define PATH_MAX 260
32# endif
33#endif
34
29 35
30/** 36/**
31 * @file dlfcn.h 37 * @file dlfcn.h
diff --git a/legacy/evil/src/lib/evil_stdio.c b/legacy/evil/src/lib/evil_stdio.c
index 4d344c1350..3ed0f89545 100644
--- a/legacy/evil/src/lib/evil_stdio.c
+++ b/legacy/evil/src/lib/evil_stdio.c
@@ -15,10 +15,10 @@
15 * 15 *
16 */ 16 */
17 17
18void perror (const char *s __UNUSED__) 18/* void perror (const char *s __UNUSED__) */
19{ 19/* { */
20 fprintf(stderr, "[Windows CE] error\n"); 20/* fprintf(stderr, "[Windows CE] error\n"); */
21} 21/* } */
22 22
23/* 23/*
24 * Stream related functions 24 * Stream related functions
diff --git a/legacy/evil/src/lib/evil_stdio.h b/legacy/evil/src/lib/evil_stdio.h
index 80827bf915..c2eea2114f 100644
--- a/legacy/evil/src/lib/evil_stdio.h
+++ b/legacy/evil/src/lib/evil_stdio.h
@@ -20,7 +20,7 @@
20 * 20 *
21 */ 21 */
22 22
23EAPI void perror (const char *s); 23/* EAPI void perror (const char *s); */
24 24
25/* 25/*
26 * Stream related functions 26 * Stream related functions