Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

RE: [PATCH] Port to HP NonStop

From: Joachim Schmitz <hidden>
Date: 2016-06-15 22:54:49

From: Jan Engelhardt [mailto:jengelh@inai.de]
Sent: Wednesday, September 19, 2012 10:34 PM
To: Joachim Schmitz
Cc: 'Junio C Hamano'; git@vger.kernel.org
Subject: RE: [PATCH] Port to HP NonStop

On Wednesday 2012-09-19 19:54, Joachim Schmitz wrote:
quoted
quoted
From: Jan Engelhardt [mailto:jengelh@inai.de]
Sent: Wednesday, September 19, 2012 7:48 PM
To: Joachim Schmitz
Cc: 'Junio C Hamano'; git@vger.kernel.org
Subject: Re: [PATCH] Port to HP NonStop


On Wednesday 2012-09-19 12:03, Joachim Schmitz wrote:
quoted
+#ifdef NO_INTPTR_T
+/*
+ * On I16LP32, ILP32 and LP64 "long" is the save bet, however
+ * on LLP86, IL33LLP64 and P64 it needs to be "long long",
+ * while on IP16 and IP16L32 it is "int" (resp. "short")
+ * Size needs to match (or exceed) 'sizeof(void *)'.
+ * We can't take "long long" here as not everybody has it.
Are you trying to port git to DOS or why would you mention IP16? :-)
Just for completness, nothing else ;-)
The problem would be that some, if not most, C environments in DOS offer
a P16P32 model - thanks to (near void *) and (far void *).
No problem. "long" would be big enough for these (wasting some space though)
Only LLP86, IL33LLP64 and P64 would need it bigger, "long long".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help