Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

couple of minor fixes for windows. #9

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/DebugInfo/PDB/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if(HAVE_DIA_SDK)
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
set(LIBPDB_LINK_FOLDERS "${LIBPDB_LINK_FOLDERS}\\amd64")
endif()
set(LIBPDB_ADDITIONAL_LIBRARIES "${LIBPDB_LINK_FOLDERS}\\diaguids.lib")
file(TO_CMAKE_PATH "${LIBPDB_LINK_FOLDERS}" LIBPDB_LINK_FOLDERS)
set(LIBPDB_ADDITIONAL_LIBRARIES "${LIBPDB_LINK_FOLDERS}/diaguids.lib")

add_pdb_impl_folder(DIA
DIA/DIADataStream.cpp
Expand Down
4 changes: 3 additions & 1 deletion lib/Support/ErrorHandling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
#include <cstdlib>

#if defined(HAVE_UNISTD_H)
# include <unistd.h>
# if !defined(HAVE_STDINT_H)
# include <unistd.h>
# endif
#endif
#if defined(_MSC_VER)
# include <io.h>
Expand Down
4 changes: 3 additions & 1 deletion lib/Support/raw_ostream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
#endif

#if defined(HAVE_UNISTD_H)
# include <unistd.h>
# if !defined(HAVE_STDINT_H)
# include <unistd.h>
# endif
#endif
#if defined(HAVE_SYS_UIO_H) && defined(HAVE_WRITEV)
# include <sys/uio.h>
Expand Down