diff --git a/veriuser.h b/veriuser.h index 7614673db..6b958f39e 100644 --- a/veriuser.h +++ b/veriuser.h @@ -1,7 +1,7 @@ #ifndef VERIUSER_H #define VERIUSER_H /* - * Copyright (c) 2002-2018 Stephen Williams (steve@icarus.com) + * Copyright (c) 2002-2019 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -152,6 +152,9 @@ typedef struct t_tfcell */ extern s_tfcell veriusertfs[]; extern void veriusertfs_register_table(p_tfcell vtable); +#if defined(__MINGW32__) || defined (__CYGWIN32__) +extern __declspec(dllexport) void (*vlog_startup_routines[])(void); +#endif #define usertask 1 #define userfunction 2 diff --git a/vpi/v2009_table.c b/vpi/v2009_table.c index 1a3f8ee2b..010801a84 100644 --- a/vpi/v2009_table.c +++ b/vpi/v2009_table.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2018 Stephen Williams (steve@icarus.com) + * Copyright (c) 2010-2019 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +# include "vpi_user.h" + extern void v2009_array_register(void); extern void v2009_bitvec_register(void); extern void v2009_enum_register(void);