* 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
This commit is contained in:
Vincent Torri 2011-01-04 13:37:24 +00:00
parent 88292a5266
commit d7ed7006ac
4 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,13 @@
2011-01-04 Vincent Torri <doursse at users dot sf dot net>
* 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
2010-12-18 Vincent Torri <doursse at users dot sf dot net>
* src/lib/libgen.c:

View File

@ -26,6 +26,12 @@
extern "C" {
#endif
#ifdef _WIN32_WCE
# ifndef PATH_MAX
# define PATH_MAX 260
# endif
#endif
/**
* @file dlfcn.h

View File

@ -15,10 +15,10 @@
*
*/
void perror (const char *s __UNUSED__)
{
fprintf(stderr, "[Windows CE] error\n");
}
/* void perror (const char *s __UNUSED__) */
/* { */
/* fprintf(stderr, "[Windows CE] error\n"); */
/* } */
/*
* Stream related functions

View File

@ -20,7 +20,7 @@
*
*/
EAPI void perror (const char *s);
/* EAPI void perror (const char *s); */
/*
* Stream related functions