Skip to content
Snippets Groups Projects
Commit 45dc1d52 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Portability fix for FreeBSD (MAP_ANONYMOUS is not defined).

parent 12098b90
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,6 @@
* be the case when another implementation is used.
*/
#define atomic_cas(a, b, c) __sync_val_compare_and_swap(a, b, c)
#define atomic_add(a, b) __sync_add_and_fetch(a, b)
/**
* A very primitive implementation of lock-free
......
#include "lib/small/lf_lifo.h"
#include "tarantool/config.h"
#include "unit.h"
#include <sys/mman.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment