From c55adddb69feaebdff11cead191ad8830e90d5d5 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 15 Mar 2004 18:35:37 +0000 Subject: [PATCH] Assume struct initializers are GCC specific. --- vpi/sys_random.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vpi/sys_random.c b/vpi/sys_random.c index 79479b397..f4691ada5 100644 --- a/vpi/sys_random.c +++ b/vpi/sys_random.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: sys_random.c,v 1.9 2004/01/21 01:22:53 steve Exp $" +#ident "$Id: sys_random.c,v 1.10 2004/03/15 18:35:37 steve Exp $" #endif # include "sys_priv.h" @@ -108,7 +108,7 @@ static int sys_dist_uniform_sizetf(char*x) #define COOKIE 0x1ca1ca1c static struct context_s global_context = { -#if !defined(_MSC_VER) +#if defined(__GCC__) .mti = #else // For MSVC simply use the fact that mti is located first @@ -202,6 +202,9 @@ void sys_random_register() /* * $Log: sys_random.c,v $ + * Revision 1.10 2004/03/15 18:35:37 steve + * Assume struct initializers are GCC specific. + * * Revision 1.9 2004/01/21 01:22:53 steve * Give the vip directory its own configure and vpi_config.h *