diff --git a/Changes b/Changes index cbd7f90bc..3f659c717 100644 --- a/Changes +++ b/Changes @@ -10,6 +10,8 @@ The contributors that suggested a given feature are shown in []. Thanks! *** For --trace-fst, instead of *.fst.hier, put data into *.fst. [Tony Bybell] +**** Fix --trace-lxt2 compile error on MinGW, msg2667. [HyungKi Jeong] + * Verilator 4.004 2018-10-6 diff --git a/include/gtkwave/fst_config.h b/include/gtkwave/fst_config.h index 8c0ff13e9..ffac0c893 100644 --- a/include/gtkwave/fst_config.h +++ b/include/gtkwave/fst_config.h @@ -7,6 +7,9 @@ /* Define to 1 if you have and it should be used (not on Ultrix). */ #define HAVE_ALLOCA_H 1 +#if !defined(__MINGW32__) +# define HAVE_ALLOCA_H 1 +#endif /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 diff --git a/include/gtkwave/lxt2_config.h b/include/gtkwave/lxt2_config.h deleted file mode 100644 index 653a19217..000000000 --- a/include/gtkwave/lxt2_config.h +++ /dev/null @@ -1,12 +0,0 @@ -/* This file specifically for LXT2 usage */ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have `alloca', as a function or macro. */ -#define HAVE_ALLOCA 1 - -/* Define to 1 if you have and it should be used (not on Ultrix). */ -#define HAVE_ALLOCA_H 1 - -/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ -#define HAVE_FSEEKO 1 diff --git a/include/gtkwave/lxt2_write.cpp b/include/gtkwave/lxt2_write.cpp index 06947aaed..fad03581c 100644 --- a/include/gtkwave/lxt2_write.cpp +++ b/include/gtkwave/lxt2_write.cpp @@ -24,7 +24,7 @@ #pragma alloca #endif -#include "lxt2_config.h" +#include "fst_config.h" #include "lxt2_write.h"