Skip to content

Commit

Permalink
ci(win): dummy install_signal_handlers func
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jun 29, 2024
1 parent 6bf74ad commit f2f483b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/native/message_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ static void install_signal_handlers()
fix_signal(SIGXFSZ);
#endif
}
#else
static void install_signal_handlers()

Check failure on line 67 in internal/native/message_server.go

View workflow job for this annotation

GitHub Actions / test-win (1.22.x, windows-latest)

error: external linkage required for symbol 'install_signal_handlers' because of 'dllimport' attribute
#endif
// Library headers
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions internal/native/mock_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ static void install_signal_handlers()
fix_signal(SIGXFSZ);
#endif
}
#else
static void install_signal_handlers()
#endif
// Library headers
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions internal/native/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ static void install_signal_handlers()
fix_signal(SIGXFSZ);
#endif
}
#else
static void install_signal_handlers()
#endif
// Library headers
#include <stdlib.h>
Expand Down

0 comments on commit f2f483b

Please sign in to comment.