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
2e838250
Commit
2e838250
authored
May 20, 2015
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2798 from iij/pr-netbsd
Fix build mruby for NetBSD
parents
505c6961
486870e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
mrbgems/mruby-bin-mirb/mrbgem.rake
mrbgems/mruby-bin-mirb/mrbgem.rake
+5
-1
src/fmt_fp.c
src/fmt_fp.c
+1
-1
No files found.
mrbgems/mruby-bin-mirb/mrbgem.rake
View file @
2e838250
...
...
@@ -12,7 +12,11 @@ MRuby::Gem::Specification.new('mruby-bin-mirb') do |spec|
spec
.
linker
.
libraries
<<
'termcap'
end
end
spec
.
linker
.
libraries
<<
'readline'
if
RUBY_PLATFORM
.
include?
(
'netbsd'
)
spec
.
linker
.
libraries
<<
'edit'
else
spec
.
linker
.
libraries
<<
'readline'
end
elsif
spec
.
build
.
cc
.
search_header_path
'linenoise.h'
spec
.
cc
.
defines
<<
"ENABLE_LINENOISE"
end
...
...
src/fmt_fp.c
View file @
2e838250
...
...
@@ -90,7 +90,7 @@ fmt_u(uint32_t x, char *s)
typedef
char
compiler_defines_long_double_incorrectly
[
9
-
(
int
)
sizeof
(
long
double
)];
#endif
#if defined(__CYGWIN32__) || defined(mips)
#if defined(__CYGWIN32__) || defined(
__NetBSD__) || defined(
mips)
static
long
double
frexpl
(
long
double
x
,
int
*
eptr
)
{
...
...
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