parent
e14b392596
commit
604b3d009c
1 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,11 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(ST_DATA_T_DEFINED)
|
||||||
|
/* Needs to be explicitly included for Ruby 1.8 and earlier */
|
||||||
|
#include <st.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Ruby 1.8 actually assumes the first case. */
|
/* Ruby 1.8 actually assumes the first case. */
|
||||||
#if SIZEOF_VOIDP == SIZEOF_LONG
|
#if SIZEOF_VOIDP == SIZEOF_LONG
|
||||||
# define SWIG2NUM(v) LONG2NUM((unsigned long)v)
|
# define SWIG2NUM(v) LONG2NUM((unsigned long)v)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue