diff options
author | Craig A. Berry <craigberry@mac.com> | 2012-05-24 17:47:39 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2012-05-24 17:47:39 -0500 |
commit | 2242159b1c96bb6b44fa49ed1fe33b2d81f3df78 (patch) | |
tree | a5212be37c7f5ff865de236fe39a4b0a8a61c486 /perl.h | |
parent | 25bbd8263003a49c3f7afdc1cd082f6f66e76ce4 (diff) | |
download | perl-2242159b1c96bb6b44fa49ed1fe33b2d81f3df78.tar.gz |
VMS C++ strerror prototype differences in perl.h.
The funny extra arguments to strerror are only there on VMS
when compiling with C, not C++.
On VMS, DONT_DECLARE_STD is synonymous with defined(__cplusplus).
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1381,13 +1381,13 @@ EXTERN_C char *crypt(const char *, const char *); #endif #ifdef HAS_STRERROR +#ifndef DONT_DECLARE_STD # ifdef VMS char *strerror (int,...); # else -#ifndef DONT_DECLARE_STD char *strerror (int); -#endif # endif +#endif # ifndef Strerror # define Strerror strerror # endif |