diff options
author | Daniel Dai <764122422@qq.com> | 2019-11-20 20:18:00 -0500 |
---|---|---|
committer | Daniel Dai <764122422@qq.com> | 2019-11-20 20:39:04 -0500 |
commit | bfd8c1fdd2218c0c4d965338291b084a9ff52ec9 (patch) | |
tree | 7b3c1cc5f20d1ead32598cd6466745e5df0fb1e4 /src/bio.h | |
parent | 3243252cb05869ed4abd49f06e45d7eac4912298 (diff) | |
download | redis-bfd8c1fdd2218c0c4d965338291b084a9ff52ec9.tar.gz |
macro fix
macro fix
Diffstat (limited to 'src/bio.h')
-rw-r--r-- | src/bio.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -27,6 +27,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef __BIO_H +#define __BIO_H + /* Exported API */ void bioInit(void); void bioCreateBackgroundJob(int type, void *arg1, void *arg2, void *arg3); @@ -40,3 +43,5 @@ void bioKillThreads(void); #define BIO_AOF_FSYNC 1 /* Deferred AOF fsync. */ #define BIO_LAZY_FREE 2 /* Deferred objects freeing. */ #define BIO_NUM_OPS 3 + +#endif |