diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2004-05-05 23:33:24 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2004-05-05 23:33:24 +0000 |
commit | 5740fd4d52f106acc42186721041d5601383b999 (patch) | |
tree | 01ca648437b92c465fab953be07acffc358485da /gnu/usr.bin | |
parent | 03fe38624159eac6e41dc6a190b5b866f9b76748 (diff) |
Only define __LP64__ if in 64 bit mode. ok deraadt@ millert@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h index e2181a237d0..14819f58f0d 100644 --- a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h +++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h @@ -36,7 +36,8 @@ Boston, MA 02111-1307, USA. */ do \ { \ OPENBSD_OS_CPP_BUILTINS_ELF(); \ - OPENBSD_OS_CPP_BUILTINS_LP64(); \ + if (TARGET_64BIT) \ + OPENBSD_OS_CPP_BUILTINS_LP64(); \ } \ while (0) |