r659: for C++ compatibility
This commit is contained in:
parent
af1a871270
commit
543fa12e68
1
bseq.c
1
bseq.c
|
|
@ -2,6 +2,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
#include "bseq.h"
|
#include "bseq.h"
|
||||||
#include "kvec.h"
|
#include "kvec.h"
|
||||||
#include "kseq.h"
|
#include "kseq.h"
|
||||||
|
|
|
||||||
1
index.c
1
index.c
|
|
@ -7,6 +7,7 @@
|
||||||
#endif
|
#endif
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
#include "kthread.h"
|
#include "kthread.h"
|
||||||
#include "bseq.h"
|
#include "bseq.h"
|
||||||
#include "minimap.h"
|
#include "minimap.h"
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include "kthread.h"
|
||||||
|
|
||||||
#if (defined(WIN32) || defined(_WIN32)) && defined(_MSC_VER)
|
#if (defined(WIN32) || defined(_WIN32)) && defined(_MSC_VER)
|
||||||
#define __sync_fetch_and_add(ptr, addend) _InterlockedExchangeAdd((void*)ptr, addend)
|
#define __sync_fetch_and_add(ptr, addend) _InterlockedExchangeAdd((void*)ptr, addend)
|
||||||
|
|
|
||||||
2
main.c
2
main.c
|
|
@ -6,7 +6,7 @@
|
||||||
#include "mmpriv.h"
|
#include "mmpriv.h"
|
||||||
#include "getopt.h"
|
#include "getopt.h"
|
||||||
|
|
||||||
#define MM_VERSION "2.7-r658-dirty"
|
#define MM_VERSION "2.7-r659-dirty"
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|
|
||||||
2
misc.c
2
misc.c
|
|
@ -1,4 +1,4 @@
|
||||||
#include "minimap.h"
|
#include "mmpriv.h"
|
||||||
|
|
||||||
int mm_verbose = 1;
|
int mm_verbose = 1;
|
||||||
int mm_dbg_flag = 0;
|
int mm_dbg_flag = 0;
|
||||||
|
|
|
||||||
3
sketch.c
3
sketch.c
|
|
@ -2,8 +2,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
#include "kvec.h"
|
#include "kvec.h"
|
||||||
#include "minimap.h"
|
#include "mmpriv.h"
|
||||||
|
|
||||||
unsigned char seq_nt4_table[256] = {
|
unsigned char seq_nt4_table[256] = {
|
||||||
0, 1, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
0, 1, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue