From fdbd0877c3cc69dd5388c83a1b986d458fcc89ce Mon Sep 17 00:00:00 2001 From: Karel Brinda Date: Mon, 29 Aug 2016 19:33:56 +0200 Subject: [PATCH] Fix problem with cinttypes on some platforms --- Makefile | 2 +- src/types.h | 7 ++++++- src/version.h | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 351c968..8fff020 100644 --- a/Makefile +++ b/Makefile @@ -38,4 +38,4 @@ $(HTSLIB): clean: $(MAKE) -C ext/htslib clean $(MAKE) -C src clean - rm ococo + rm -f ococo diff --git a/src/types.h b/src/types.h index 7893b42..260b141 100644 --- a/src/types.h +++ b/src/types.h @@ -1,7 +1,12 @@ #pragma once #include -#include + +#ifdef _LIBCPP_VERSION + #include +#else + #include +#endif namespace ococo { diff --git a/src/version.h b/src/version.h index fcf01ed..d48f61c 100644 --- a/src/version.h +++ b/src/version.h @@ -1,5 +1,5 @@ #pragma once namespace ococo { -static const char *OCOCO_VERSION = "0.1.2"; +static const char *OCOCO_VERSION = "0.1.2.2"; }