mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 07:50:31 +00:00
tree.h & maps.h: adding_COSMO_SOURCE guard
This commit is contained in:
parent
7f6a7d6fff
commit
94145880d3
2 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
#ifdef _COSMO_SOURCE
|
||||
#ifndef COSMOPOLITAN_MAPS_H_
|
||||
#define COSMOPOLITAN_MAPS_H_
|
||||
#include "libc/intrin/atomic.h"
|
||||
|
@ -138,3 +139,4 @@ static inline bool __maps_isalloc(struct Map *map) {
|
|||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* COSMOPOLITAN_MAPS_H_ */
|
||||
#endif /* _COSMO_SOURCE */
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#ifdef _COSMO_SOURCE
|
||||
#ifndef COSMOPOLITAN_TREE_H_
|
||||
#define COSMOPOLITAN_TREE_H_
|
||||
#define tree_first __tree_first
|
||||
|
@ -132,3 +133,4 @@ void tree_insert(struct Tree **, struct Tree *, tree_cmp_f *) libcesque;
|
|||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* COSMOPOLITAN_TREE_H_ */
|
||||
#endif /* _COSMO_SOURCE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue