Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
5f2a107b
Commit
5f2a107b
authored
Jan 28, 2019
by
Orgad Shaneh
Committed by
Dominic Hamon
Jan 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cross-compilation with mingw/linux (#758)
parent
40fce80e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
CMakeLists.txt
src/CMakeLists.txt
+1
-1
colorprint.cc
src/colorprint.cc
+1
-1
sleep.cc
src/sleep.cc
+1
-1
sysinfo.cc
src/sysinfo.cc
+3
-3
timers.cc
src/timers.cc
+3
-3
No files found.
src/CMakeLists.txt
View file @
5f2a107b
...
@@ -33,7 +33,7 @@ endif()
...
@@ -33,7 +33,7 @@ endif()
# We need extra libraries on Windows
# We need extra libraries on Windows
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Windows"
)
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Windows"
)
target_link_libraries
(
benchmark
S
hlwapi
)
target_link_libraries
(
benchmark
s
hlwapi
)
endif
()
endif
()
set
(
include_install_dir
"include"
)
set
(
include_install_dir
"include"
)
...
...
src/colorprint.cc
View file @
5f2a107b
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "internal_macros.h"
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
#ifdef BENCHMARK_OS_WINDOWS
#include <
W
indows.h>
#include <
w
indows.h>
#include <io.h>
#include <io.h>
#else
#else
#include <unistd.h>
#include <unistd.h>
...
...
src/sleep.cc
View file @
5f2a107b
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "internal_macros.h"
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
#ifdef BENCHMARK_OS_WINDOWS
#include <
W
indows.h>
#include <
w
indows.h>
#endif
#endif
namespace
benchmark
{
namespace
benchmark
{
...
...
src/sysinfo.cc
View file @
5f2a107b
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
#include "internal_macros.h"
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
#ifdef BENCHMARK_OS_WINDOWS
#include <
S
hlwapi.h>
#include <
s
hlwapi.h>
#include <
VersionH
elpers.h>
#include <
versionh
elpers.h>
#include <
W
indows.h>
#include <
w
indows.h>
#else
#else
#include <fcntl.h>
#include <fcntl.h>
#include <sys/resource.h>
#include <sys/resource.h>
...
...
src/timers.cc
View file @
5f2a107b
...
@@ -16,9 +16,9 @@
...
@@ -16,9 +16,9 @@
#include "internal_macros.h"
#include "internal_macros.h"
#ifdef BENCHMARK_OS_WINDOWS
#ifdef BENCHMARK_OS_WINDOWS
#include <
S
hlwapi.h>
#include <
s
hlwapi.h>
#include <
VersionH
elpers.h>
#include <
versionh
elpers.h>
#include <
W
indows.h>
#include <
w
indows.h>
#else
#else
#include <fcntl.h>
#include <fcntl.h>
#include <sys/resource.h>
#include <sys/resource.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment