Makes build possible on case sensitive systems such as MinGW on Linux.
#include <stdlib.h>
#include <string.h>
-#include <Windows.h>
-#include <MMSystem.h>
+#include <windows.h>
+#include <mmsystem.h>
#include <winpr/crt.h>
#include <winpr/cmdline.h>
#include <stdlib.h>
#include <string.h>
-#include <Windows.h>
-#include <MMSystem.h>
+#include <windows.h>
+#include <mmsystem.h>
#include <winpr/crt.h>
#include <winpr/cmdline.h>
#define CINTERFACE
#define COBJMACROS
-#include <Ole2.h>
-#include <ShlObj.h>
-#include <Windows.h>
-#include <WinUser.h>
+#include <ole2.h>
+#include <shlobj.h>
+#include <windows.h>
+#include <winuser.h>
#include <assert.h>
#include <freerdp/log.h>
#include <freerdp/client/cliprdr.h>
-#include <Strsafe.h>
+#include <strsafe.h>
#include "wf_cliprdr.h"
#endif
#ifdef _WIN32
-#include <Shlwapi.h>
+#include <shlwapi.h>
#endif
#endif /* WINPR_PATH_H */
@ONLY)
set (WINPR_SRCS ${WINPR_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
- list(APPEND WINPR_LIBS "Shlwapi")
+ list(APPEND WINPR_LIBS "shlwapi")
endif()
add_library(${MODULE_NAME} ${WINPR_SRCS})
#endif
#if defined(WIN32)
-#include <Shlobj.h>
+#include <shlobj.h>
#else
#include <errno.h>
#include <dirent.h>
endif()
if(WIN32)
- winpr_library_add(Dbghelp)
+ winpr_library_add(dbghelp)
endif()
if(BUILD_TESTING)
#if defined(_WIN32) || defined(_WIN64)
#include <io.h>
-#include <Windows.h>
-#include <Dbghelp.h>
+#include <windows.h>
+#include <dbghelp.h>
#define write _write
#endif