mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
fix Issue #256
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef __MALLOC_HOOK_H
|
||||
#define __MALLOC_HOOK_H
|
||||
#ifndef SKYNET_MALLOC_HOOK_H
|
||||
#define SKYNET_MALLOC_HOOK_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -10,5 +10,5 @@ extern size_t mallctl_int64(const char* name, size_t* newval);
|
||||
extern int mallctl_opt(const char* name, int* newval);
|
||||
extern void dump_c_mem(void);
|
||||
|
||||
#endif /* __MALLOC_HOOK_H */
|
||||
#endif /* SKYNET_MALLOC_HOOK_H */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _RWLOCK_H_
|
||||
#define _RWLOCK_H_
|
||||
#ifndef SKYNET_RWLOCK_H
|
||||
#define SKYNET_RWLOCK_H
|
||||
|
||||
struct rwlock {
|
||||
int write;
|
||||
|
||||
Reference in New Issue
Block a user