]> gcc.gnu.org Git - gcc.git/commitdiff
_G_config.h (_G_USING_THUNKS): Allow overrides from OS-configuration files.
authorMark Mitchell <mark@codesourcery.com>
Sun, 29 Oct 2000 21:21:51 +0000 (21:21 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 29 Oct 2000 21:21:51 +0000 (21:21 +0000)
* _G_config.h (_G_USING_THUNKS): Allow overrides from
OS-configuration files.
* libioP.h: Test _G_USING_THUNKS with #if, rather than #ifdef.

From-SVN: r37130

libstdc++-v3/libio/ChangeLog
libstdc++-v3/libio/_G_config.h
libstdc++-v3/libio/libioP.h

index 9736beb09d5b2a9eb4efb08b314e199a6ca098f8..f4e7664df7e4eabbce794e02fdbcd9faac28f70a 100644 (file)
@@ -1,3 +1,9 @@
+2000-10-29  Mark Mitchell  <mark@codesourcery.com>
+
+       * _G_config.h (_G_USING_THUNKS): Allow overrides from
+       OS-configuration files.
+       * libioP.h: Test _G_USING_THUNKS with #if, rather than #ifdef.
+
 2000-10-17  Benjamin Kosnik  <bkoz@gnu.org>
 
        * libioP.h: Break up extern "C" bits around includes.
index 4e79f74db8209fa499cd41185c1b996e7cfb60af..d6738c2bf7be669de752ee548266639ca2b46ce6 100644 (file)
@@ -116,7 +116,9 @@ typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
 /* These are the vtbl details for ELF.  */
 #define _G_NAMES_HAVE_UNDERSCORE 0
 #define _G_VTABLE_LABEL_HAS_LENGTH 1
-#define _G_USING_THUNKS        1
+#ifndef _G_USING_THUNKS
+# define _G_USING_THUNKS       1
+#endif /* _G_USING_THUNKS */
 #define _G_VTABLE_LABEL_PREFIX "__vt_"
 #define _G_VTABLE_LABEL_PREFIX_ID __vt_
 
index 598949d8988297a5d6205605679b87b9c0559a1c..4aecf4eaa1b2038a5b978307038ba567ca8552a4 100644 (file)
@@ -82,7 +82,7 @@ extern "C" {
 # define _IO_JUMPS_FUNC(THIS) _IO_JUMPS ((struct _IO_FILE_plus *) (THIS))
 #endif
 #define _IO_WIDE_JUMPS_FUNC(THIS) _IO_WIDE_JUMPS(THIS)
-#ifdef _G_USING_THUNKS
+#if _G_USING_THUNKS
 # define JUMP_FIELD(TYPE, NAME) TYPE NAME
 # define JUMP0(FUNC, THIS) _IO_JUMPS_FUNC(THIS)->FUNC (THIS)
 # define JUMP1(FUNC, THIS, X1) _IO_JUMPS_FUNC(THIS)->FUNC (THIS, X1)
@@ -274,7 +274,7 @@ typedef void (*_IO_imbue_t) __PMT ((_IO_FILE *, void *));
 struct _IO_jump_t
 {
     JUMP_FIELD(_G_size_t, __dummy);
-#ifdef _G_USING_THUNKS
+#if _G_USING_THUNKS
     JUMP_FIELD(_G_size_t, __dummy2);
 #endif
     JUMP_FIELD(_IO_finish_t, __finish);
This page took 0.069103 seconds and 5 git commands to generate.