* os_dep.c: remove usage of libc private symbol.
svn path=/trunk/mono/; revision=43924
+
+Tue May 3 16:28:26 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+ * os_dep.c: remove usage of libc private symbol.
+
2005-05-02 Miguel de Icaza <miguel@novell.com>
* pthread_stop_world.c (GC_restart_handler, GC_suspend_handler):
/* since the correct value of __libc_stack_end never */
/* becomes visible to us. The second test works around */
/* this. */
+#if USE_LIBC_PRIVATE_SYMBOLS
if (0 != &__libc_stack_end && 0 != __libc_stack_end ) {
# ifdef IA64
/* Some versions of glibc set the address 16 bytes too */
return __libc_stack_end;
# endif
}
+#endif
f = open("/proc/self/stat", O_RDONLY);
if (f < 0 || STAT_READ(f, stat_buf, STAT_BUF_SIZE) < 2 * STAT_SKIP) {
ABORT("Couldn't read /proc/self/stat");