Permalink
Browse files

Add define controlled config.h include

  • Loading branch information...
1 parent 3483e36 commit 1994ec00ba069db653803fd74ced2f9b62aa5895 @jonforums jonforums committed May 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 include/mruby.h
View
@@ -31,6 +31,10 @@
#include <stdlib.h>
#include "mrbconf.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
enum mrb_vtype {
MRB_TT_FALSE = 0, /* 0 */
MRB_TT_FREE, /* 1 */

1 comment on commit 1994ec0

@matz
matz commented on 1994ec0 May 11, 2012

I am not sure what will be in config.h? I want to make core as portable (without many #ifdef), so that there should be little need for big confg.h as CRuby has.

Please sign in to comment.