Use lowercase for includes and libs

Makes build possible on case sensitive systems such as MinGW on Linux.
This commit is contained in:
Peter Åstrand (astrand) 2019-01-09 09:36:28 +01:00
parent 9c19c7361f
commit 30cd1ba1ab
8 changed files with 15 additions and 15 deletions

View File

@ -27,8 +27,8 @@
#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>

View File

@ -29,8 +29,8 @@
#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>

View File

@ -27,10 +27,10 @@
#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>
@ -41,7 +41,7 @@
#include <freerdp/log.h>
#include <freerdp/client/cliprdr.h>
#include <Strsafe.h>
#include <strsafe.h>
#include "wf_cliprdr.h"

View File

@ -309,7 +309,7 @@ WINPR_API BOOL PathIsDirectoryEmptyW(LPCWSTR pszPath);
#endif
#ifdef _WIN32
#include <Shlwapi.h>
#include <shlwapi.h>
#endif
#endif /* WINPR_PATH_H */

View File

@ -121,7 +121,7 @@ if (WIN32)
@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})

View File

@ -41,7 +41,7 @@
#endif
#if defined(WIN32)
#include <Shlobj.h>
#include <shlobj.h>
#else
#include <errno.h>
#include <dirent.h>

View File

@ -147,7 +147,7 @@ if((FREEBSD) AND (NOT KFREEBSD))
endif()
if(WIN32)
winpr_library_add(Dbghelp)
winpr_library_add(dbghelp)
endif()
if(BUILD_TESTING)

View File

@ -36,8 +36,8 @@
#if defined(_WIN32) || defined(_WIN64)
#include <io.h>
#include <Windows.h>
#include <Dbghelp.h>
#include <windows.h>
#include <dbghelp.h>
#define write _write
#endif