mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
compat/regex/regcomp.c: define intptr_t and uintptr_t on NonStop
The system definition header files on HPE NonStop do not define intptr_t and uintptr_t as do other platforms. These typedefs are added specifically wrapped in a __TANDEM ifdef. Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
1305ef3784
commit
0bdaacf66f
|
@ -17,6 +17,14 @@
|
|||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#if defined __TANDEM
|
||||
/* This is currently duplicated from git-compat-utils.h */
|
||||
# ifdef NO_INTPTR_T
|
||||
typedef long intptr_t;
|
||||
typedef unsigned long uintptr_t;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
|
||||
size_t length, reg_syntax_t syntax);
|
||||
static void re_compile_fastmap_iter (regex_t *bufp,
|
||||
|
|
Loading…
Reference in a new issue