leveldb/port
Sanjay Ghemawat a1ad4d1995 Build fixes and cleanups:
(1) Separate out C++ and CC flags (fixes c_test compilation)
(2) Move snappy/perftools detection to script
(3) Fix db_bench_sqlite3 and db_bench_tree_db build rules
2012-03-21 10:28:03 -07:00
..
win reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
atomic_pointer.h A number of fixes: 2011-10-31 17:22:06 +00:00
port_android.cc A number of fixes: 2011-10-31 17:22:06 +00:00
port_android.h Build fixes and cleanups: 2012-03-21 10:28:03 -07:00
port_example.h A number of fixes: 2011-10-31 17:22:06 +00:00
port_posix.cc A number of fixes: 2011-10-31 17:22:06 +00:00
port_posix.h add .gitignore; support for building on a few BSD variants 2012-03-05 10:35:46 -08:00
port.h Platform detection during build, plus compatibility patches for machines without <cstdatomic>. 2011-06-29 00:30:50 +00:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00: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.