Skip to content

Commit

Permalink
r659: for C++ compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Jan 19, 2018
1 parent af1a871 commit 543fa12
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions bseq.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#define __STDC_LIMIT_MACROS
#include "bseq.h"
#include "kvec.h"
#include "kseq.h"
Expand Down
1 change: 1 addition & 0 deletions index.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#endif
#include <fcntl.h>
#include <stdio.h>
#define __STDC_LIMIT_MACROS
#include "kthread.h"
#include "bseq.h"
#include "minimap.h"
Expand Down
1 change: 1 addition & 0 deletions kthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <stdlib.h>
#include <limits.h>
#include <stdint.h>
#include "kthread.h"

#if (defined(WIN32) || defined(_WIN32)) && defined(_MSC_VER)
#define __sync_fetch_and_add(ptr, addend) _InterlockedExchangeAdd((void*)ptr, addend)
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"

#define MM_VERSION "2.7-r658-dirty"
#define MM_VERSION "2.7-r659-dirty"

#ifdef __linux__
#include <sys/resource.h>
Expand Down
2 changes: 1 addition & 1 deletion misc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "minimap.h"
#include "mmpriv.h"

int mm_verbose = 1;
int mm_dbg_flag = 0;
Expand Down
3 changes: 2 additions & 1 deletion sketch.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#define __STDC_LIMIT_MACROS
#include "kvec.h"
#include "minimap.h"
#include "mmpriv.h"

unsigned char seq_nt4_table[256] = {
0, 1, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
Expand Down

0 comments on commit 543fa12

Please sign in to comment.