aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-10-31 10:30:16 +0000
committerWerner Koch <[email protected]>2010-10-31 10:30:16 +0000
commitc9b40515e8deecba9e179d48c0f826019c6ee5c4 (patch)
treed119d54177e8ea0a84a32c3c8ab92e6d4567e190 /src/init.c
parent2010-10-29 Marcus Brinkmann <[email protected]> (diff)
downloadlibgpg-error-c9b40515e8deecba9e179d48c0f826019c6ee5c4.tar.gz
libgpg-error-c9b40515e8deecba9e179d48c0f826019c6ee5c4.zip
s/abort/TerminateProcess/
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init.c b/src/init.c
index 10f8e43..d4282ac 100644
--- a/src/init.c
+++ b/src/init.c
@@ -37,7 +37,8 @@
# define TLS_OUT_OF_INDEXES 0xFFFFFFFF
# endif
# ifndef __MINGW32CE__
-# define abort() exit(1)
+# /* Replace the Mingw32CE provided abort function. */
+# define abort() do { TerminateProcess (GetCurrentProcess(), 8); } while (0)
# endif
#endif