Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
on-keyday committed Apr 23, 2024
1 parent 2bb9c09 commit c1f2eb0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/tool/s2jgo/s2j_dlopen.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux || darwin || freebsd || openbsd || netbsd || dragonfly || solaris || android || arm64
//go:build linux || darwin || freebsd

package s2jgo

Expand Down
3 changes: 1 addition & 2 deletions src/tool/s2jgo/s2j_stub.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !linux && !darwin && !freebsd && !openbsd && !netbsd && !dragonfly && !solaris && !android

//go:build !windows && !linux && !darwin && !freebsd
package s2jgo

import "errors"
Expand Down
3 changes: 0 additions & 3 deletions src/tool/src2json/src2json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ struct Flags : futils::cmdline::templ::HelpOption {
bool error_tolerant = false;

void bind(futils::cmdline::option::Context& ctx) {
// HACK(on-keyday): because MAC OS build makes an strange error
// so this is a workaround
(void)typeid(char8_t);
bind_help(ctx);

ctx.VarBool(&version, "version", "print version");
Expand Down

0 comments on commit c1f2eb0

Please sign in to comment.