[wesnoth-commits] [wesnoth/wesnoth] ca7105: fs: Drop filesystem::init() and Windows XP-specifi...
Iris Morelle
noreply at github.com
Tue Sep 24 09:50:10 UTC 2019
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: ca71057e7fde459941cb825a920b23cd093e7adf
https://github.com/wesnoth/wesnoth/commit/ca71057e7fde459941cb825a920b23cd093e7adf
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2019-09-24 (Tue, 24 Sep 2019)
Changed paths:
M src/filesystem.cpp
M src/filesystem.hpp
M src/wesnoth.cpp
Log Message:
-----------
fs: Drop filesystem::init() and Windows XP-specific code in it
The function's only purpose so far is to initialize a function pointer
to a kernel32.dll export (GetFinalPathNameByHandleW) that isn't present
on versions before Windows Vista. However, this development branch
explicitly bumps the minimum build target to Windows 7, rendering the
code redundant.
This also gets rid of a rather bothersome GCC warning involving the
FARPROC pointer cast used to store the result of GetProcAddress().
More information about the Commits
mailing list