From: Junio C Hamano Date: Fri, 12 May 2017 01:18:19 GMT Subject: Re: [PATCH] compat/regex: fix compilation on Windows Message-ID: In-Reply-To: <6a6782863a74432094a1d7fba7f2477991ef2d16.1494510612.git.johannes.schindelin@gmx.de> Johannes Schindelin writes: > The real issue here is that GNU awk's regex implementation assumes a bit > too much about the relative sizes of pointers and long integers. What they > really want is to use intptr_t. Good. I got annoyed enough to do the same myself before opening my mailbox. One thing that is curious about your version is that it still has "#include " behind HAVE_STDINT_H; when I tried to compile an equivalent of your change last night, the compilation failed because intptr_t wasn't available without exposing Where is Windows build getting its intptr_t, I wonder.