diff srogue/save.c @ 121:e6c8652473fe

srogue: more compatibility improvements. Randomness now uses mdport, and xcrypt.c has been replaced with the rogue5 version. Super-Rogue now builds on MinGW.
author John "Elwin" Edwards
date Sat, 03 May 2014 10:31:30 -0700
parents d6b7c3fb37ea
children 1863409c44cf
line wrap: on
line diff
--- a/srogue/save.c	Fri May 02 15:06:23 2014 -0700
+++ b/srogue/save.c	Sat May 03 10:31:30 2014 -0700
@@ -287,7 +287,7 @@
 #endif
 	if (!wizard)
 	{
-#ifndef __DJGPP__
+#if defined(HAVE_WORKING_FORK)
 			endwin();
 			if (!use_savedir)
 			{
@@ -344,6 +344,6 @@
 	strcpy(file_name, file);
 	setup();
 	restscr(cw);
-	srandom(getpid());
+	md_srandom(getpid());
 	playit();
 }