forked from enlightenment/efl
* src/lib/dlfcn/dlfcn.c:
memory leak with cegcc * src/lib/dlfcn/dlfcn.h: include limits.h for MinGW users * src/lib/mman/sys/mman.h: add MAP_FAILED error value SVN revision: 34717
This commit is contained in:
parent
a9da65ca32
commit
4b4c616e37
|
@ -1,3 +1,14 @@
|
|||
2008-06-01 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/lib/dlfcn/dlfcn.c:
|
||||
memory leak with cegcc
|
||||
|
||||
* src/lib/dlfcn/dlfcn.h:
|
||||
include limits.h for MinGW users
|
||||
|
||||
* src/lib/mman/sys/mman.h:
|
||||
add MAP_FAILED error value
|
||||
|
||||
2008-05-20 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/lib/dlfcn/dlfcn.h:
|
||||
|
|
|
@ -43,6 +43,7 @@ get_last_error(char *desc)
|
|||
|
||||
#if defined(__CEGCC__) || defined(__MINGW32CE__)
|
||||
str2 = evil_wchar_to_char(str);
|
||||
free(str);
|
||||
#else
|
||||
str2 = str;
|
||||
#endif /* ! __CEGCC__ && ! __MINGW32CE__ */
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
#if defined(__CEGCC__) || defined(__MINGW32CE__)
|
||||
# include <sys/syslimits.h>
|
||||
#endif /* __MINGW32CE__ */
|
||||
#else
|
||||
# include <limits.h>
|
||||
#endif /* ! __CEGCC__ || ! __MINGW32CE__ */
|
||||
|
||||
|
||||
#ifdef EAPI
|
||||
|
|
|
@ -63,10 +63,17 @@ extern "C" {
|
|||
* Interpret the address (addr) exactly.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @def MAP_FAILED
|
||||
* Error return from mmap().
|
||||
*/
|
||||
|
||||
#define MAP_SHARED 0x0001
|
||||
#define MAP_PRIVATE 0x0002
|
||||
#define MAP_FIXED 0x0010
|
||||
|
||||
#define MAP_FAILED ((void *)-1)
|
||||
|
||||
|
||||
/**
|
||||
* @file mman.h
|
||||
|
|
Loading…
Reference in New Issue