Navigation Menu

Skip to content

Commit

Permalink
[dat] support *BSD.
Browse files Browse the repository at this point in the history
*BSD have MAP_ANON not MAP_ANONYMOUS.
Reported by OBATA Akio. Thanks!!!
  • Loading branch information
kou committed Jun 29, 2011
1 parent fc8d70a commit 6a6362a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/dat/trie.cpp
Expand Up @@ -9,6 +9,10 @@
#include <algorithm>
#include <cstring>

#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#define MAP_ANONYMOUS MAP_ANON
#endif

namespace grn {
namespace dat {

Expand Down

0 comments on commit 6a6362a

Please sign in to comment.