Skip to content

Commit

Permalink
Add patch for winmain.h bug on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Jul 5, 2019
1 parent 1dc92a6 commit 544aa02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crf_learn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright(C) 2005-2007 Taku Kudo <[email protected]>
//
#include "crfpp.h"
#ifdef _WIN32
#include "winmain.h"
#endif

int main(int argc, char **argv) {
return crfpp_learn(argc, argv);
Expand Down
2 changes: 2 additions & 0 deletions crf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright(C) 2005-2007 Taku Kudo <[email protected]>
//
#include "crfpp.h"
#ifdef _WIN32
#include "winmain.h"
#endif

int main(int argc, char **argv) {
return crfpp_test(argc, argv);
Expand Down

0 comments on commit 544aa02

Please sign in to comment.