diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2020-06-21 21:29:04 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2020-06-22 21:00:08 +0200 |
commit | 98ba73db1984d4ea995759bdbf3f94cf16200d5a (patch) | |
tree | 8282e46fcdef487b0b9730bbb2e89e55980299d6 /cmake/config.h.in | |
parent | 88699012b77c4827b433883845d951e8ded8cb7c (diff) | |
download | ccache-98ba73db1984d4ea995759bdbf3f94cf16200d5a.tar.gz |
Remove win32 GetFileNameFromHandle compatibility function
The replacement function seems to be buggy, triggering failures in
x_realpath at least when the unit tests are run in Wine. The real
GetFinalPathNameByHandle function is allegedly supported in Windows
Vista and newer, so let’s just use it.
(cherry picked from commit bd742fbe20493f720ae6af00525fd3a8ee829802)
Diffstat (limited to 'cmake/config.h.in')
-rw-r--r-- | cmake/config.h.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/config.h.in b/cmake/config.h.in index c2e76b94..4eeecdd8 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -63,9 +63,6 @@ /* Define to 1 if you have the `geteuid' function. */ #cmakedefine HAVE_GETEUID -/* Define to 1 if you have the `GetFinalPathNameByHandleW' function. */ -#cmakedefine HAVE_GETFINALPATHNAMEBYHANDLEW - /* Define to 1 if you have the `getopt_long' function. */ #cmakedefine HAVE_GETOPT_LONG |