aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/config.h.in
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar+fdio@cisco.com>2019-02-01 20:00:21 +0000
committerGerrit Code Review <gerrit@fd.io>2019-02-01 20:00:21 +0000
commit79f9c336d9d8af63e322e3c52f09fec3d7cb3c2b (patch)
tree7674e218ee813ff7aec6868ab86a1dd6c40af28f /hicn-light/src/config.h.in
parente8fabe3f6313a3b9050fe16458e4714d9dce426e (diff)
parentf5a0b8a5e24cede05e15ab696f0e15257a503525 (diff)
Merge "[HICN24] Windows compatibility for hicn-light"
Diffstat (limited to 'hicn-light/src/config.h.in')
-rw-r--r--hicn-light/src/config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/hicn-light/src/config.h.in b/hicn-light/src/config.h.in
index 16ec1ab3a..8b763df40 100644
--- a/hicn-light/src/config.h.in
+++ b/hicn-light/src/config.h.in
@@ -1,5 +1,9 @@
/* CPU Cache line size */
#define LEVEL1_DCACHE_LINESIZE @LEVEL1_DCACHE_LINESIZE@
+#ifndef _WIN32
#define _GNU_SOURCE
+#else
+#include <src/platforms/windows/win_portability.h>
+#endif