diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-12 06:14:54 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-12 06:14:54 +0000 |
commit | 0b94c7bb9a33fcbef93724c1b5f96b2616e1e13f (patch) | |
tree | 901ffa00fdc4c95e2baac003390948d6f4ff8bdb /perl.h | |
parent | a88c3d7c5dc6133bb2dd9b0b213b17f73bdf982c (diff) | |
download | perl-0b94c7bb9a33fcbef93724c1b5f96b2616e1e13f.tar.gz |
fixups for sundry warnings about function pointers
p4raw-id: //depot/perl@3669
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1494,10 +1494,6 @@ typedef union any ANY; # endif #endif -#ifndef FUNC_NAME_TO_PTR -#define FUNC_NAME_TO_PTR(name) name -#endif - /* * USE_THREADS needs to be after unixish.h as <pthread.h> includes * <sys/signal.h> which defines NSIG - which will stop inclusion of <signal.h> @@ -1593,6 +1589,10 @@ typedef pthread_key_t perl_key; # define STATUS_ALL_FAILURE (PL_statusvalue = 1) #endif +#ifndef MEMBER_TO_FPTR +#define MEMBER_TO_FPTR(name) name +#endif + /* This defines a way to flush all output buffers. This may be a * performance issue, so we allow people to disable it. * XXX the default needs a Configure test, as it may not work everywhere. |