fix pobj warning; add pobj tests to cmake
This commit is contained in:
parent
220c33cc31
commit
5195eca7f9
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
#define __POBJ_H
|
||||
|
||||
#define member_sizeof(s,x) (sizeof(((s *)NULL)->x))
|
||||
#define member_offset(s,x) ((int)&(((s *)NULL)->x))
|
||||
#define member_offset(s,x) ((long)&(((s *)NULL)->x))
|
||||
|
||||
|
||||
struct pobj_memfunc {
|
||||
|
|
|
@ -1 +1 @@
|
|||
SUBDIRS(stasis)
|
||||
SUBDIRS(stasis pobj)
|
||||
|
|
Loading…
Reference in a new issue