Assume struct initializers are GCC specific.

This commit is contained in:
steve 2004-03-15 18:35:37 +00:00
parent 8e63f56caf
commit c55adddb69
1 changed files with 5 additions and 2 deletions

View File

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