hopefully sorted out this header nonsense
This commit is contained in:
parent
3d6942c257
commit
cb52b24040
|
@ -21,8 +21,21 @@
|
|||
*/
|
||||
|
||||
#include "ruby.h"
|
||||
|
||||
#if HAVE_RUBY_ST_H
|
||||
#include "ruby/st.h"
|
||||
#endif
|
||||
#if HAVE_ST_H
|
||||
#include "st.h"
|
||||
#endif
|
||||
|
||||
#if HAVE_RUBY_REGEX_H
|
||||
#include "ruby/regex.h"
|
||||
#endif
|
||||
#if HAVE_REGEX_H
|
||||
#include "regex.h"
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
require 'mkmf'
|
||||
|
||||
find_header("st.h")
|
||||
find_header("regex.h")
|
||||
have_header("ruby/st.h") || have_header("st.h")
|
||||
have_header("ruby/regex.h") || have_header("regex.h")
|
||||
|
||||
dir_config('cbson')
|
||||
create_makefile('mongo_ext/cbson')
|
||||
|
|
Loading…
Reference in New Issue