lbrycrd/port
Pieter Wuille 1bb86d6f15 Squashed 'src/leveldb/' changes from a02ddf9..be1b0ff
be1b0ff On Mac OS X fsync does not guarantee write to disk. Use fcntl F_FULLFSYNC instead.

git-subtree-dir: src/leveldb
git-subtree-split: be1b0ff1fcd6ad820a7fd111ac671fb51cc68001
2013-08-20 15:11:55 +02:00
..
win Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00
atomic_pointer.h Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00
port.h Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00
port_example.h Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00
port_posix.cc Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00
port_posix.h Squashed 'src/leveldb/' changes from a02ddf9..be1b0ff 2013-08-20 15:11:55 +02:00
port_win.cc Squashed 'src/leveldb/' changes from aca1ffc..ae6c262 2013-07-01 08:36:32 -07:00
port_win.h Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00
README Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00
thread_annotations.h Squashed 'src/leveldb/' content from commit aca1ffc 2013-05-03 19:06:59 -07:00

This directory contains interfaces and implementations that isolate the
rest of the package from platform details.

Code in the rest of the package includes "port.h" from this directory.
"port.h" in turn includes a platform specific "port_<platform>.h" file
that provides the platform specific implementation.

See port_posix.h for an example of what must be provided in a platform
specific header file.