lxt_write.c and lxt2_write.c reference <config.h> not "vpi_config.h"

Since the base lxt_write.c and lxt2_write.c files reference <config.h>
instead of "vpi_config.h" all their definitions need to be moved to
the main config.h include file.
(cherry picked from commit 3f433b325f)
This commit is contained in:
Cary R 2010-05-12 16:55:46 -07:00 committed by Stephen Williams
parent afd18466cc
commit 644610828e
2 changed files with 5 additions and 5 deletions

View File

@ -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 <inttypes.h>
#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.

View File

@ -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