mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-15 13:07:55 +08:00
r659: for C++ compatibility
This commit is contained in:
1
bseq.c
1
bseq.c
@@ -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"
|
||||
|
||||
1
index.c
1
index.c
@@ -7,6 +7,7 @@
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#include "kthread.h"
|
||||
#include "bseq.h"
|
||||
#include "minimap.h"
|
||||
|
||||
@@ -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)
|
||||
|
||||
2
main.c
2
main.c
@@ -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>
|
||||
|
||||
2
misc.c
2
misc.c
@@ -1,4 +1,4 @@
|
||||
#include "minimap.h"
|
||||
#include "mmpriv.h"
|
||||
|
||||
int mm_verbose = 1;
|
||||
int mm_dbg_flag = 0;
|
||||
|
||||
Reference in New Issue
Block a user