Assume struct initializers are GCC specific.
This commit is contained in:
parent
8e63f56caf
commit
c55adddb69
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#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
|
#endif
|
||||||
|
|
||||||
# include "sys_priv.h"
|
# include "sys_priv.h"
|
||||||
|
|
@ -108,7 +108,7 @@ static int sys_dist_uniform_sizetf(char*x)
|
||||||
#define COOKIE 0x1ca1ca1c
|
#define COOKIE 0x1ca1ca1c
|
||||||
|
|
||||||
static struct context_s global_context = {
|
static struct context_s global_context = {
|
||||||
#if !defined(_MSC_VER)
|
#if defined(__GCC__)
|
||||||
.mti =
|
.mti =
|
||||||
#else
|
#else
|
||||||
// For MSVC simply use the fact that mti is located first
|
// For MSVC simply use the fact that mti is located first
|
||||||
|
|
@ -202,6 +202,9 @@ void sys_random_register()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: sys_random.c,v $
|
* $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
|
* Revision 1.9 2004/01/21 01:22:53 steve
|
||||||
* Give the vip directory its own configure and vpi_config.h
|
* Give the vip directory its own configure and vpi_config.h
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue