summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-21 02:52:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-21 02:52:35 +0000
commit2a8c30295b275492168d354bd41e49b2adb4c4df (patch)
tree795a981985c9c73c48c3046dc31dcb063de60fab /perl.h
parent9c25e1f89bb1ab422ff7f8c07d5abd3e91105704 (diff)
downloadperl-2a8c30295b275492168d354bd41e49b2adb4c4df.tar.gz
htovs et al might be macros.
p4raw-id: //depot/perl@16035
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 59a21faecd..920bd3ca06 100644
--- a/perl.h
+++ b/perl.h
@@ -2279,11 +2279,13 @@ struct ptr_tbl {
# define htovs(x) vtohs(x)
# endif
/* otherwise default to functions in util.c */
+#ifndef htovs
short htovs(short n);
short vtohs(short n);
long htovl(long n);
long vtohl(long n);
#endif
+#endif
/* *MAX Plus 1. A floating point value.
Hopefully expressed in a way that dodgy floating point can't mess up.