Merge branch 'NetHack-3.6'

This commit is contained in:
Bart House
2019-11-02 11:40:19 -07:00
6 changed files with 38 additions and 20 deletions

View File

@@ -13,13 +13,6 @@
#include <errno.h>
#include <ShlObj.h>
#ifdef __MINGW32__
extern LONG GetCurrentPackageFullName(UINT32 *packageFullNameLength,
PWSTR packageFullName);
#else
# include <appmodel.h>
#endif
#if !defined(SAFEPROCS)
#error You must #define SAFEPROCS to build windmain.c
#endif
@@ -70,15 +63,6 @@ static struct stat hbuf;
extern char orgdir[];
boolean
is_desktop_bridge_application()
{
UINT32 length = 0;
LONG rc = GetCurrentPackageFullName(&length, NULL);
return (rc == ERROR_INSUFFICIENT_BUFFER);
}
void
get_known_folder_path(
const KNOWNFOLDERID * folder_id,