forked from enlightenment/efl
* src/lib/Evil.h:
define offsetof for Windows CE SVN revision: 53982
This commit is contained in:
parent
0ce8be2500
commit
a2a90c6131
|
@ -1,3 +1,8 @@
|
|||
2010-10-29 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/lib/Evil.h:
|
||||
define offsetof for Windows CE
|
||||
|
||||
2010-10-22 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/lib/Makefile.am:
|
||||
|
|
|
@ -107,6 +107,12 @@ typedef SSIZE_T ssize_t;
|
|||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
# ifndef offsetof
|
||||
# define offsetof(type, ident) ((size_t)&(((type*)0)->ident))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
typedef unsigned long uid_t;
|
||||
typedef unsigned long gid_t;
|
||||
|
||||
|
|
Loading…
Reference in New Issue