|
@@ -30,11 +30,6 @@
|
|
|
#else
|
|
|
# define HAVE_INTTYPES_H 1
|
|
|
# define HAVE_STDINT_H 1
|
|
|
-# define SHLIB_COMPAT(x,y,z) 0
|
|
|
-# undef libc_hidden_def
|
|
|
-# define libc_hidden_def(x)
|
|
|
-# undef strong_alias
|
|
|
-# define strong_alias(x,y)
|
|
|
#endif
|
|
|
#else
|
|
|
# include "obstack.h"
|
|
@@ -112,19 +107,19 @@ enum
|
|
|
`print_and_abort'. */
|
|
|
static void print_and_abort (void);
|
|
|
static void (*__obstack_alloc_failed_handler) (void) = print_and_abort;
|
|
|
-weak_alias(__obstack_alloc_failed_handler,obstack_alloc_failed_handler)
|
|
|
+strong_alias(__obstack_alloc_failed_handler,obstack_alloc_failed_handler)
|
|
|
|
|
|
|
|
|
# include <stdlib.h>
|
|
|
# ifdef _LIBC
|
|
|
static int __obstack_exit_failure = EXIT_FAILURE;
|
|
|
-weak_alias(__obstack_exit_failure,obstack_exit_failure)
|
|
|
+strong_alias(__obstack_exit_failure,obstack_exit_failure)
|
|
|
# else
|
|
|
# include "exitfail.h"
|
|
|
# define __obstack_exit_failure exit_failure
|
|
|
# endif
|
|
|
|
|
|
-# ifdef _LIBC
|
|
|
+# if 0
|
|
|
# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)
|
|
|
|
|
|
was used by non-GNU-C macros to avoid multiple evaluation. The GNU C
|
|
@@ -328,7 +323,7 @@ _obstack_newchunk (struct obstack *h, int length)
|
|
|
|
|
|
h->maybe_empty_object = 0;
|
|
|
}
|
|
|
-# ifdef _LIBC
|
|
|
+# if 0
|
|
|
libc_hidden_def (_obstack_newchunk)
|
|
|
# endif
|
|
|
|
|
@@ -393,7 +388,7 @@ obstack_free (struct obstack *h, void *obj)
|
|
|
abort ();
|
|
|
}
|
|
|
|
|
|
-# ifdef _LIBC
|
|
|
+# if 0
|
|
|
|
|
|
called by non-GCC compilers. */
|
|
|
strong_alias (obstack_free, _obstack_free)
|
|
@@ -418,9 +413,6 @@ _obstack_memory_used (struct obstack *h)
|
|
|
# else
|
|
|
# include "gettext.h"
|
|
|
# endif
|
|
|
-
|
|
|
-# undef _
|
|
|
-# define _(Str) (Str)
|
|
|
# ifndef _
|
|
|
# define _(msgid) gettext (msgid)
|
|
|
# endif
|