Skip to content

Commit

Permalink
include an extern C function in libfsm so we can use AC_CHECK_LIB
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-thurston committed Mar 12, 2023
1 parent d00ef79 commit 28b6e0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libfsm/codegen.cc
Expand Up @@ -30,6 +30,8 @@
#include <assert.h>
#include <iomanip>

// Convenience: for checking for the presence of the libfsm.
extern "C" void libfsm_present() {}

using std::ostream;
using std::ostringstream;
Expand Down

0 comments on commit 28b6e0a

Please sign in to comment.