mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Fix compilation for windows
This commit is contained in:
parent
20c7bf7818
commit
7f9b635431
12 changed files with 70 additions and 7 deletions
4
vendor/librw/src/rwbase.h
vendored
4
vendor/librw/src/rwbase.h
vendored
|
|
@ -16,7 +16,11 @@
|
|||
#ifdef OFFSET_OF
|
||||
#undef OFFSET_OF
|
||||
#endif
|
||||
#ifdef __SYMBIAN32__
|
||||
#define OFFSET_OF(type, member) ((size_t)&(((type*)0)->member))
|
||||
#else
|
||||
#define OFFSET_OF offsetof
|
||||
#endif
|
||||
|
||||
// TODO: clean up the opengl defines
|
||||
// and figure out what we even want here...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue