aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t-syserror.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-01-18 15:10:37 +0000
committerWerner Koch <[email protected]>2010-01-18 15:10:37 +0000
commit0fe34500c2dcdcf274c2485dfda28127e77e7c14 (patch)
tree1caa11aaf4d67df434769118c9a7dbfcfa9b0588 /tests/t-syserror.c
parentResolved changelog conflict (diff)
downloadlibgpg-error-0fe34500c2dcdcf274c2485dfda28127e77e7c14.tar.gz
libgpg-error-0fe34500c2dcdcf274c2485dfda28127e77e7c14.zip
Add some code to build nativley under WindowsCE - not finished.
Diffstat (limited to 'tests/t-syserror.c')
-rw-r--r--tests/t-syserror.c2
1 files changed, 1 insertions, 1 deletions
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)