From 644610828edf701a2ebe000685437105942cd538 Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 12 May 2010 16:55:46 -0700 Subject: [PATCH] lxt_write.c and lxt2_write.c reference not "vpi_config.h" Since the base lxt_write.c and lxt2_write.c files reference instead of "vpi_config.h" all their definitions need to be moved to the main config.h include file. (cherry picked from commit 3f433b325fcda4672d431930f1091ed8c96a5640) --- config.h.in | 6 +++++- vpi/vpi_config.h.in | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.h.in b/config.h.in index d8f3c9161..b660c549d 100644 --- a/config.h.in +++ b/config.h.in @@ -1,7 +1,7 @@ #ifndef __config_H /* -*- c++ -*- */ #define __config_H /* - * Copyright (c) 2001-2009 Stephen Williams (steve@icarus.com) + * Copyright (c) 2001-2010 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 @@ -50,6 +50,10 @@ # include #endif +/* These two are needed by the lxt and lxt2 files (copied from GTKWave). */ +# define HAVE_ALLOCA_H 1 +# define HAVE_FSEEKO 1 + /* * Define this if you want to compile vvp with memory freeing and * special valgrind hooks for the memory pools. diff --git a/vpi/vpi_config.h.in b/vpi/vpi_config.h.in index 5765e4215..d03ebcfa4 100644 --- a/vpi/vpi_config.h.in +++ b/vpi/vpi_config.h.in @@ -28,10 +28,6 @@ # undef HAVE_FMAX # undef WORDS_BIGENDIAN -/* These two are needed by the lxt and lxt2 files (copied from GTKWave). */ -# undef HAVE_ALLOCA_H -# undef HAVE_FSEEKO - # undef _LARGEFILE_SOURCE #ifdef _LARGEFILE_SOURCE # define _FILE_OFFSET_BITS 64