A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manage links in a different way (to help tracing gtnets fullduplex behavior)
[simgrid.git]
/
src
/
surf
/
random_mgr.c
diff --git
a/src/surf/random_mgr.c
b/src/surf/random_mgr.c
index
f22b26b
..
48769c4
100644
(file)
--- a/
src/surf/random_mgr.c
+++ b/
src/surf/random_mgr.c
@@
-1,12
+1,21
@@
+/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include "surf/random_mgr.h"
#include "xbt/sysdep.h"
#include "surf/random_mgr.h"
#include "xbt/sysdep.h"
+#include "simgrid_config.h" /*_XBT_WIN32*/
-#ifdef WIN32
+#ifdef
_XBT_
WIN32
static unsigned int _seed = 2147483647;
static unsigned int _seed = 2147483647;
+#ifdef __VISUALC__
typedef unsigned __int64 uint64_t;
typedef unsigned int uint32_t;
typedef unsigned __int64 uint64_t;
typedef unsigned int uint32_t;
+#endif
struct drand48_data {
unsigned short int __x[3]; /* Current state. */
struct drand48_data {
unsigned short int __x[3]; /* Current state. */