Skip to content

Commit 8c826a8

Browse files
committed
Tweaking compatibility
1 parent d351202 commit 8c826a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ project(FrameOfReference CXX C)
1010
set(PROJECT_URL "https://github.com/lemire/FrameOfReference")
1111
set(PROJECT_DESCRIPTION "C++ library to pack and unpack vectors of integers having a small range of values using a technique called Frame of Reference")
1212

13+
set(CMAKE_CXX_STANDARD 11)
1314

1415

1516
# library target

src/test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ class WallClockTimer {
9090
};
9191

9292
#ifndef _WIN32
93-
93+
#include <sys/time.h>
94+
#include <sys/resource.h>
9495
class CPUTimer {
9596
public:
9697
// clock_t t1, t2;

0 commit comments

Comments
 (0)