projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: implement iterator debugging config option
[userspace-rcu.git]
/
src
/
compat-rand.h
diff --git
a/src/compat-rand.h
b/src/compat-rand.h
index 7c6acde32f00808dbc15904ad4d775444294153d..835d99b8abd39af5a18bcbabcdf5d8aec1a6a664 100644
(file)
--- a/
src/compat-rand.h
+++ b/
src/compat-rand.h
@@
-28,7
+28,7
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#if
def __ANDROID__
+#if
ndef HAVE_RAND_R
/*
* Reentrant random function from POSIX.1c.
* Copyright (C) 1996, 1999 Free Software Foundation, Inc.
/*
* Reentrant random function from POSIX.1c.
* Copyright (C) 1996, 1999 Free Software Foundation, Inc.
@@
-58,6
+58,6
@@
static inline int rand_r(unsigned int *seed)
return result;
}
return result;
}
-#endif /*
__ANDROID__
*/
+#endif /*
HAVE_RAND_R
*/
#endif /* _COMPAT_RAND_H */
#endif /* _COMPAT_RAND_H */
This page took
0.026462 seconds
and
4
git commands to generate.