From 0fe34500c2dcdcf274c2485dfda28127e77e7c14 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 18 Jan 2010 15:10:37 +0000 Subject: Add some code to build nativley under WindowsCE - not finished. --- tests/t-syserror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/t-syserror.c') diff --git a/tests/t-syserror.c b/tests/t-syserror.c index b6973c3..25de86f 100644 --- a/tests/t-syserror.c +++ b/tests/t-syserror.c @@ -64,7 +64,7 @@ main (int argc, char *argv[]) return 1; } - errno = 0; + gpg_err_set_errno (0); ec = gpg_err_code_from_syserror (); if (ec != GPG_ERR_MISSING_ERRNO) -- cgit v1.2.3