Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
f2d62c7c
Commit
f2d62c7c
authored
Feb 26, 2013
by
mattn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build
parent
048e0884
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
include/mrbconf.h
include/mrbconf.h
+0
-7
src/init.c
src/init.c
+0
-4
No files found.
include/mrbconf.h
View file @
f2d62c7c
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
/* -DDISABLE_XXXX to drop following features */
/* -DDISABLE_XXXX to drop following features */
//#define DISABLE_SPRINTF /* Kernel.sprintf method */
//#define DISABLE_SPRINTF /* Kernel.sprintf method */
//#define DISABLE_MATH /* Math functions */
//#define DISABLE_MATH /* Math functions */
//#define DISABLE_TIME /* Time class */
//#define DISABLE_STRUCT /* Struct class */
//#define DISABLE_STRUCT /* Struct class */
//#define DISABLE_STDIO /* use of stdio */
//#define DISABLE_STDIO /* use of stdio */
...
@@ -83,18 +82,12 @@
...
@@ -83,18 +82,12 @@
typedef
short
mrb_sym
;
typedef
short
mrb_sym
;
/* define ENABLE_XXXX from DISABLE_XXX */
/* define ENABLE_XXXX from DISABLE_XXX */
#ifndef DISABLE_REGEXP
#define ENABLE_REGEXP
#endif
#ifndef DISABLE_SPRINTF
#ifndef DISABLE_SPRINTF
#define ENABLE_SPRINTF
#define ENABLE_SPRINTF
#endif
#endif
#ifndef DISABLE_MATH
#ifndef DISABLE_MATH
#define ENABLE_MATH
#define ENABLE_MATH
#endif
#endif
#ifndef DISABLE_TIME
#define ENABLE_TIME
#endif
#ifndef DISABLE_STRUCT
#ifndef DISABLE_STRUCT
#define ENABLE_STRUCT
#define ENABLE_STRUCT
#endif
#endif
...
...
src/init.c
View file @
f2d62c7c
...
@@ -24,7 +24,6 @@ void mrb_init_struct(mrb_state*);
...
@@ -24,7 +24,6 @@ void mrb_init_struct(mrb_state*);
void
mrb_init_gc
(
mrb_state
*
);
void
mrb_init_gc
(
mrb_state
*
);
void
mrb_init_regexp
(
mrb_state
*
);
void
mrb_init_regexp
(
mrb_state
*
);
void
mrb_init_print
(
mrb_state
*
);
void
mrb_init_print
(
mrb_state
*
);
void
mrb_init_time
(
mrb_state
*
);
void
mrb_init_math
(
mrb_state
*
);
void
mrb_init_math
(
mrb_state
*
);
void
mrb_init_mrblib
(
mrb_state
*
);
void
mrb_init_mrblib
(
mrb_state
*
);
void
mrb_init_mrbgems
(
mrb_state
*
);
void
mrb_init_mrbgems
(
mrb_state
*
);
...
@@ -58,9 +57,6 @@ mrb_init_core(mrb_state *mrb)
...
@@ -58,9 +57,6 @@ mrb_init_core(mrb_state *mrb)
#ifdef ENABLE_STDIO
#ifdef ENABLE_STDIO
mrb_init_print
(
mrb
);
DONE
;
mrb_init_print
(
mrb
);
DONE
;
#endif
#endif
#ifdef ENABLE_TIME
mrb_init_time
(
mrb
);
DONE
;
#endif
#ifdef ENABLE_MATH
#ifdef ENABLE_MATH
mrb_init_math
(
mrb
);
DONE
;
mrb_init_math
(
mrb
);
DONE
;
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment