diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-20 23:46:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-20 23:46:03 +0000 |
commit | b80a3db02e5163f5af236df7cce78bd65e8c6941 (patch) | |
tree | c3de7e027886be6c1fb6037314c2b95c320ac051 /sysdeps/unix/powerpc | |
parent | 7f4dce05c20b5461582a729ef64f26ecc93f365e (diff) | |
download | glibc-b80a3db02e5163f5af236df7cce78bd65e8c6941.tar glibc-b80a3db02e5163f5af236df7cce78bd65e8c6941.tar.gz glibc-b80a3db02e5163f5af236df7cce78bd65e8c6941.tar.bz2 glibc-b80a3db02e5163f5af236df7cce78bd65e8c6941.zip |
* sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros.
* sysdeps/powerpc/powerpc32/sysdep.h: New file. Define powerpc32
specific macros copied from sysdeps/powerpc/sysdep.h.
* sysdeps/powerpc/powerpc64/sysdep.h: New file. Define powerpc64
specific macros.
* sysdeps/unix/powerpc/sysdep.h: Include <bits/wordsize.h>.
[__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h.
[!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h.
Diffstat (limited to 'sysdeps/unix/powerpc')
-rw-r--r-- | sysdeps/unix/powerpc/sysdep.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/unix/powerpc/sysdep.h b/sysdeps/unix/powerpc/sysdep.h index b4ec23a037..90c1e49e89 100644 --- a/sysdeps/unix/powerpc/sysdep.h +++ b/sysdeps/unix/powerpc/sysdep.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1991, 92, 93, 95, 96, 97, 99 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 95, 96, 97, 1999, 2002 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,4 +18,9 @@ 02111-1307 USA. */ #include <sysdeps/unix/sysdep.h> -#include <sysdeps/powerpc/sysdep.h> +#include <bits/wordsize.h> +#if __WORDSIZE == 64 +#include <sysdeps/powerpc/powerpc64/sysdep.h> +#else +#include <sysdeps/powerpc/powerpc32/sysdep.h> +#endif |