Add missing #include <stddef.h> for offsetof when using -builtin.
Fixes SF #1345 Conflicts: CHANGES.current
This commit is contained in:
parent
c2f5813ffa
commit
5602a61bb6
2 changed files with 7 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.12 (9 Feb 2014)
|
Version 2.0.12 (9 Feb 2014)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2013-10-17: wsfulton
|
||||||
|
[Python] Fix SF #1345 - Missing #include <stddef.h> for offsetof when using -builtin.
|
||||||
|
|
||||||
2013-10-12: wsfulton
|
2013-10-12: wsfulton
|
||||||
[Lua] Apply #92 - missing return statements for SWIG_Lua_add_namespace_details()
|
[Lua] Apply #92 - missing return statements for SWIG_Lua_add_namespace_details()
|
||||||
and SWIG_Lua_namespace_register().
|
and SWIG_Lua_namespace_register().
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,10 @@
|
||||||
|
|
||||||
%insert(init) "swiginit.swg"
|
%insert(init) "swiginit.swg"
|
||||||
|
|
||||||
|
#if defined(SWIGPYTHON_BUILTIN)
|
||||||
|
%fragment("<stddef.h>"); // For offsetof
|
||||||
|
#endif
|
||||||
|
|
||||||
%init %{
|
%init %{
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue