summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-17 14:48:11 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-17 14:48:11 +0000
commit9c12f1e5a87cce227357eea4b0780c0323f952f0 (patch)
tree8783f5876aa090d78ce738e4fe2e959420d75dc4 /perl.h
parentd1a15766ff5cdfaf84d91442a68bc2a05880bf12 (diff)
downloadperl-9c12f1e5a87cce227357eea4b0780c0323f952f0.tar.gz
Patches to compile perl on Cray XT4 Catamount/Qk, by Jarkko
p4raw-id: //depot/perl@31404
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 760103c77f..525eca2159 100644
--- a/perl.h
+++ b/perl.h
@@ -675,6 +675,11 @@ EXTERN_C int syscall(int, ...);
EXTERN_C int usleep(unsigned int);
#endif
+/* Funky places that do not have socket stuff. */
+#if defined(__LIBCATAMOUNT__)
+# define MYSWAP
+#endif
+
#ifdef PERL_MICRO /* Last chance to export Perl_my_swap */
# define MYSWAP
#endif
@@ -3270,6 +3275,12 @@ typedef struct crypt_data { /* straight from /usr/include/crypt.h */
# include "iperlsys.h"
#endif
+#ifdef __LIBCATAMOUNT__
+#undef HAS_PASSWD /* unixish.h but not unixish enough. */
+#undef HAS_GROUP
+#define FAKE_BIT_BUCKET
+#endif
+
/* [perl #22371] Algorimic Complexity Attack on Perl 5.6.1, 5.8.0.
* Note that the USE_HASH_SEED and USE_HASH_SEED_EXPLICIT are *NOT*
* defined by Configure, despite their names being similar to the