aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 07d166940..3f18183b5 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -82,6 +82,7 @@ trap_unaligned(void)
void
disable_core_dumps()
{
+ #ifndef HAVE_DOSISH_SYSTEM
#ifdef HAVE_SETRLIMIT
struct rlimit limit;
@@ -94,6 +95,7 @@ disable_core_dumps()
#endif
if( !opt.quiet )
log_info(_("WARNING: program may create a core file!\n"));
+ #endif
}