Skip to content

Commit

Permalink
Fix warning in configure sc_main compile. (verilator#4499)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsnyder committed Sep 17, 2023
1 parent 761adf1 commit f507ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ ACO_SAVE_LIBS="$LIBS"
LIBS="$LIBS -lsystemc"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([[#include <systemc.h>
extern "C" int sc_main(int argc, char* argv[]) {}
extern "C" int sc_main(int argc, char* argv[]) { return 0; }
]],[[sc_version()]])],
[_my_result=yes
AC_DEFINE([HAVE_SYSTEMC],[1],[Defined if have SystemC library])],
Expand Down

0 comments on commit f507ee5

Please sign in to comment.