]> granicus.if.org Git - nethack/commitdiff
follow-up on the util/recover.c change earlier
authornhmall <nhmall@nethack.org>
Thu, 4 Feb 2021 17:45:28 +0000 (12:45 -0500)
committernhmall <nhmall@nethack.org>
Thu, 4 Feb 2021 17:47:03 +0000 (12:47 -0500)
It failed in the CI

util/dlb.sln [new file with mode: 0644]
util/recover.c

diff --git a/util/dlb.sln b/util/dlb.sln
new file mode 100644 (file)
index 0000000..e72038c
--- /dev/null
@@ -0,0 +1,33 @@
+\r
+Microsoft Visual Studio Solution File, Format Version 12.00\r
+# Visual Studio Version 16\r
+VisualStudioVersion = 16.0.30907.101\r
+MinimumVisualStudioVersion = 10.0.40219.1\r
+Project("{911E67C6-3D85-4FCE-B560-20A9C3E3FF48}") = "dlb", "dlb.exe", "{69FE91F4-4A3D-4E77-8BD7-D5D11FFEFFA1}"\r
+       ProjectSection(DebuggerProjectSystem) = preProject\r
+               PortSupplier = 00000000-0000-0000-0000-000000000000\r
+               Executable = C:\Users\MichaelAllison\Documents\github\NHsource\util\dlb.exe\r
+               RemoteMachine = ALLISONPC2\r
+               StartingDirectory = C:\Users\MichaelAllison\Documents\github\NHsource\util\r
+               Arguments = v f ../src/nhdat370\r
+               Environment = Default\r
+               LaunchingEngine = 00000000-0000-0000-0000-000000000000\r
+               UseLegacyDebugEngines = No\r
+               LaunchSQLEngine = No\r
+               AttachLaunchAction = No\r
+       EndProjectSection\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Release|x86 = Release|x86\r
+       EndGlobalSection\r
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {69FE91F4-4A3D-4E77-8BD7-D5D11FFEFFA1}.Release|x86.ActiveCfg = Release|x86\r
+       EndGlobalSection\r
+       GlobalSection(SolutionProperties) = preSolution\r
+               HideSolutionNode = FALSE\r
+       EndGlobalSection\r
+       GlobalSection(ExtensibilityGlobals) = postSolution\r
+               SolutionGuid = {D14F79FF-4FDB-4035-944E-EA73CEDF5244}\r
+       EndGlobalSection\r
+EndGlobal\r
index 63e49ecabc0d01fa52d995ad94485136dc3e3233..490bcc73e3cae7ce778392c1a9c3628a85992b2b 100644 (file)
@@ -22,6 +22,10 @@ extern int vms_creat(const char *, unsigned);
 extern int vms_open(const char *, int, unsigned);
 #endif /* VMS */
 
+#ifndef nhUse
+#define nhUse(arg) (void)(arg)
+#endif
+
 int restore_savefile(char *);
 void set_levelfile_name(int);
 int open_levelfile(int);