]> granicus.if.org Git - nethack/commitdiff
more tweaking of prototypes
authornhmall <nhmall@nethack.org>
Wed, 30 Oct 2019 21:54:00 +0000 (17:54 -0400)
committernhmall <nhmall@nethack.org>
Wed, 30 Oct 2019 21:54:00 +0000 (17:54 -0400)
sys/winnt/windmain.c

index 06b3dc0a132c87d6881efa69e12a5b7f7326741e..d7fb00c85d358756cc650d6ba98c2d515c008cab 100644 (file)
 #ifndef __MINGW32__
 #include <appmodel.h>
 #endif
-
 #include <ShlObj.h>
 
+#ifdef __MINGW32__
+extern LONG GetCurrentPackageFullName(UINT32 *packageFullNameLength,
+                      PWSTR  packageFullName);
+extern HRESULT SHGetKnownFolderPath(REFKNOWNFOLDERID rfid,
+                      DWORD dwFlags, HANDLE hToken, PWSTR  *ppszPath);
+#endif
+
 #if 0
 #include "wintty.h"
 #endif