We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1631298 commit 1a5ee11Copy full SHA for 1a5ee11
Makefile
@@ -30,8 +30,8 @@ endif
30
# Compile flags
31
#
32
33
-CFLAGS = -I. -O3 -DNDEBUG -fPIC
34
-CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -fPIC
+CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC
+CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
35
LDFLAGS =
36
37
# OS specific
mmap.h
@@ -1,5 +1,9 @@
1
#pragma once
2
3
+#ifndef _GNU_SOURCE
4
+#define _GNU_SOURCE
5
+#endif
6
+
7
#include <stddef.h>
8
#include <stdint.h>
9
#include <fcntl.h>
0 commit comments