bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Compile Issue] ncurses 6.4+ on NonStop x86 in configure


From: rsbecker
Subject: [Compile Issue] ncurses 6.4+ on NonStop x86 in configure
Date: Sun, 19 Jan 2025 13:37:53 -0500

Hi Thomas,

I have a request. In trying to build wide-char on HPE NonStop x86, I found
an
Issue in their header files and I cannot work around easily from this end.
The
following patch would address the incompatibility between c11 and c11++. It
comes down to the use of intptr_t. Would this patch be possible to integrate
into configure? It is an old issue, but 6.4 is the first time I have tried
to do this
in many years.

Thanks,
Randall

diff --git a/configure b/configure
index 412e5af2..94d287f1 100755
--- a/configure
+++ b/configure
@@ -22881,7 +22881,13 @@ if test "$ac_cv_type_intptr_t" = yes; then
 else

 cat >>confdefs.h <<EOF
-#define intptr_t long
+#if defined (__TANDEM)
+# if ! defined (__cplusplus)
+#  define intptr_t long
+# endif
+#else
+# define intptr_t long
+#endif
 EOF

 Fi

Thanks,
Randall




reply via email to

[Prev in Thread] Current Thread [Next in Thread]