From e3e911b992f11a567cca0a0ed6ed04ef5f9e21f7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 21 Jan 2017 17:13:21 +0200 Subject: Fix the MinGW build and sync its tests with mainline, --- extension/testext.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'extension/testext.c') diff --git a/extension/testext.c b/extension/testext.c index d23ad368..572475e0 100644 --- a/extension/testext.c +++ b/extension/testext.c @@ -49,6 +49,15 @@ int plugin_is_GPL_compatible; static void fill_in_array(awk_value_t *value); +#ifdef __MINGW32__ +unsigned int +getuid (void) +{ + /* See pc/getid.c. */ + return 0; +} +#endif + /* valrep2str --- turn a value into a string */ static const char * -- cgit v1.2.3