]> source.dussan.org Git - tigervnc.git/commitdiff
Remove old mingw CMake checks
authorPierre Ossman <ossman@cendio.se>
Mon, 30 Jan 2023 19:23:18 +0000 (20:23 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 30 Jan 2023 19:24:32 +0000 (20:24 +0100)
This should have been removed with the code using these defines in
03ca975.

CMakeLists.txt
config.h.in

index 48e49924177d0e143cd008da5eb7f1dccdc405e6..e8d8d85d43d6cc42a7de9d9aa62983d5087e1317 100644 (file)
@@ -112,14 +112,6 @@ if(APPLE)
   add_definitions(-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0)
 endif()
 
-# MinGW64 has header support but no library support for IActiveDesktop, so we
-# need to check for both the header and library and use our own implementation
-# in common/os if either doesn't exist.
-if(WIN32)
-  check_c_source_compiles("#include <windows.h>\n#include <wininet.h>\n#include <shlobj.h>\nint main(int c, char** v) {IActiveDesktop iad; (void)iad; return 0;}" HAVE_ACTIVE_DESKTOP_H)
-  check_c_source_compiles("#include <windows.h>\n#include <wininet.h>\n#include <shlobj.h>\nint main(int c, char** v) {GUID i = CLSID_ActiveDesktop; (void)i; return 0;}" HAVE_ACTIVE_DESKTOP_L)
-endif()
-
 # X11 stuff. It's in a if() so that we can say REQUIRED
 if(UNIX AND NOT APPLE)
   find_package(X11 REQUIRED)
index 30c0dc4642295fbc69dc25c631a9cb465f77e44d..152875c1efa7838a5ae90e95210d63d76456e3e6 100644 (file)
@@ -1,8 +1,6 @@
 #define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"
 #define PACKAGE_VERSION "@VERSION@"
 
-#cmakedefine HAVE_ACTIVE_DESKTOP_H
-#cmakedefine HAVE_ACTIVE_DESKTOP_L
 #cmakedefine ENABLE_NLS 1
 
 #cmakedefine CMAKE_INSTALL_FULL_LIBEXECDIR "@CMAKE_INSTALL_FULL_LIBEXECDIR@"