https://github.com/git/git
Revision a244dc5b0a629290881641467c7a545de7508ab2 authored by Carlo Marcelo Arenas Belón on 02 November 2021, 15:46:06 UTC, committed by Junio C Hamano on 09 December 2022, 05:26:04 UTC
Allow tests that assume a 64-bit `size_t` to be skipped in 32-bit
platforms and regardless of the size of `long`.

This imitates the `LONG_IS_64BIT` prerequisite.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent abd4d67
Raw File
Tip revision: a244dc5b0a629290881641467c7a545de7508ab2 authored by Carlo Marcelo Arenas Belón on 02 November 2021, 15:46:06 UTC
test-lib: add prerequisite for 64-bit platforms
Tip revision: a244dc5
wildmatch.h
#ifndef WILDMATCH_H
#define WILDMATCH_H

#define WM_CASEFOLD 1
#define WM_PATHNAME 2

#define WM_NOMATCH 1
#define WM_MATCH 0
#define WM_ABORT_ALL -1
#define WM_ABORT_TO_STARSTAR -2

int wildmatch(const char *pattern, const char *text, unsigned int flags);
#endif
back to top