Fix in VUser.c for RTLD_DEFAULT definition when compiling on Linux for Icarus Verilog

This commit is contained in:
Simon Southwell 2024-01-18 10:52:42 +00:00
commit 042db90f48

View file

@ -48,6 +48,13 @@ typedef long nodecast_t;
typedef long nodecast_t;
#endif
// For Icarus
#ifdef ICARUS
# ifndef RTLD_DEFAULT
# define RTLD_DEFAULT ((void *) 0)
# endif
#endif
static void VUserInit (const unsigned node);
/////////////////////////////////////////////////////////////