Change 29407 by [EMAIL PROTECTED] on 2006/11/28 14:59:03
OS/2 compilation fixes by Ilya
Subject: [PATCH 5.8.8] Build on OS/2
From: Ilya Zakharevich <[EMAIL PROTECTED]>
Date: Tue, 28 Nov 2006 03:36:29 -0800
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/config_h.SH#329 edit
... //depot/perl/perlvars.h#71 edit
Differences ...
==== //depot/perl/config_h.SH#329 (text) ====
Index: perl/config_h.SH
--- perl/config_h.SH#328~29338~ 2006-11-21 07:16:46.000000000 -0800
+++ perl/config_h.SH 2006-11-28 06:59:03.000000000 -0800
@@ -4054,6 +4054,18 @@
*/
#define Pid_t $pidtype /* PID type */
+/* INSTALL_PREFIX:
+ * This symbol contains the "root" of installation tree for this package.
+ * The program should be prepared to do ~ expansion.
+ */
+/* INSTALL_PREFIX_EXP:
+ * This symbol contains the "root" of installation tree for this package
+ * to be used
+ * in programs that are not prepared to deal with ~ expansion at run-time.
+ */
+#define INSTALL_PREFIX "$installprefix" /**/
+#define INSTALL_PREFIX_EXP "$installprefixexp" /**/
+
/* PRIVLIB:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
==== //depot/perl/perlvars.h#71 (text) ====
Index: perl/perlvars.h
--- perl/perlvars.h#70~29065~ 2006-10-20 08:04:47.000000000 -0700
+++ perl/perlvars.h 2006-11-28 06:59:03.000000000 -0800
@@ -55,7 +55,11 @@
#endif
/* This is constant on most architectures, a global on OS/2 */
+#ifdef OS2
+PERLVARI(Gsh_path, char *, SH_PATH)/* full path of shell */
+#else
PERLVARI(Gsh_path, const char *, SH_PATH)/* full path of shell */
+#endif
#ifndef PERL_MICRO
/* If Perl has to ignore SIGPFE, this is its saved state.
End of Patch.