diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-24 21:02:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-24 21:02:30 +0000 |
commit | 45c68e7ce522261160abed996379f1b3517eab00 (patch) | |
tree | 4a73db847162a5651594f189cad0a6924e5730fc /ext/DB_File | |
parent | 14c54015032856f8b8409064fc2bf9487179fffa (diff) | |
download | perl-45c68e7ce522261160abed996379f1b3517eab00.tar.gz |
DB_File has its own attribute story.
p4raw-id: //depot/perl@10201
Diffstat (limited to 'ext/DB_File')
-rw-r--r-- | ext/DB_File/DB_File.xs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/DB_File/DB_File.xs b/ext/DB_File/DB_File.xs index 4f984880eb..74cbd1b7cc 100644 --- a/ext/DB_File/DB_File.xs +++ b/ext/DB_File/DB_File.xs @@ -124,6 +124,13 @@ #undef __attribute__ +/* Since we dropped the gccish definition of __attribute__ we will want + * to redefine dNOOP, however (so that dTHX continues to work). Yes, + * all this means that we can't do attribute checking on the DB_File, + * boo, hiss. */ +#undef dNOOP +#define dNOOP extern int Perl___notused + /* If Perl has been compiled with Threads support,the symbol op will be defined here. This clashes with a field name in db.h, so get rid of it. */ |