Skip to content

Commit

Permalink
Fix problem with cinttypes on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
karel-brinda committed Aug 29, 2016
1 parent 9c77f6d commit fdbd087
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ $(HTSLIB):
clean:
$(MAKE) -C ext/htslib clean
$(MAKE) -C src clean
rm ococo
rm -f ococo
7 changes: 6 additions & 1 deletion src/types.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#pragma once

#include <unistd.h>
#include <cinttypes>

#ifdef _LIBCPP_VERSION
#include <cinttypes>
#else
#include <tr1/cinttypes>
#endif

namespace ococo {

Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -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";
}

0 comments on commit fdbd087

Please sign in to comment.