repo.or.cz
/
unleashed
/
tickless.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sd: remove 'ssd' driver support
[unleashed/tickless.git]
/
usr
/
src
/
lib
/
libast
/
common
/
features
/
ndbm
blob
d12d15ced9d83dd4741dbc62d3268682a0b4a041
1
if tst -ldb note{ sleepycat ndbm compatibility }end link{
2
#define DB_DBM_HSEARCH 1
3
#include <db.h>
4
int main()
5
{
6
DBM* dbm = 0;
7
dbm_close(dbm);
8
return 0;
9
}
10
}end {
11
#ifndef DB_DBM_HSEARCH
12
#define DB_DBM_HSEARCH 1
13
#include <db.h>
14
#endif
15
#define _use_ndbm 1
16
}
17
elif hdr gdbm-ndbm {
18
#include <gdbm-ndbm.h>
19
#define _use_ndbm 1
20
}
21
elif hdr gdbm/ndbm {
22
#include <gdbm/ndbm.h>
23
#define _use_ndbm 1
24
}
25
elif hdr ndbm {
26
#include <ndbm.h>
27
#define _use_ndbm 1
28
}
29
endif