dogecoin/src/leveldb/port
Gavin Andresen b1024662ea Port leveldb to MinGW32
Several changes to make the native windows leveldb code compile
with mingw32 and run on 32-bit Windows:
* Remove -std=c++0x dependency (modified code to use NULL instead of
  nullptr)
* Link with -lshlwapi
* Only #define snprintf/etc if compiling with Visual Studio
* Do not link against DbgHelp.lib (wrote a CreateDir instead of using
  DbgHelp's MakeSureDirectoryPathExists
* Define WINVER=0x0500 so MinGW32 can use the 64-bit-filesystem Windows
  api calls
* Define __USE_MINGW_ANSI_STDIO=1 to use MinGW's printf (which supports
  %ll)

I also cleaned up makefile.mingw, assuming that dependencies would be in
the standard /usr/local/{include,lib} by default but allowing overriding
with make DEPSDIR=... etc
2013-01-23 10:42:46 -05:00
..
win Import LevelDB 1.5, it will be used for the transaction database. 2012-10-20 23:08:56 +02:00
atomic_pointer.h Replace leveldb/ with vanilla 1.7.0 2013-01-23 10:41:44 -05:00
port.h Native Windows LevelDB port 2013-01-23 10:41:44 -05:00
port_example.h Import LevelDB 1.5, it will be used for the transaction database. 2012-10-20 23:08:56 +02:00
port_posix.cc Import LevelDB 1.5, it will be used for the transaction database. 2012-10-20 23:08:56 +02:00
port_posix.h Fixed compile error on FreeBSD 9. 2012-10-22 01:46:31 -04:00
port_win.cc Port leveldb to MinGW32 2013-01-23 10:42:46 -05:00
port_win.h Port leveldb to MinGW32 2013-01-23 10:42:46 -05:00
README Import LevelDB 1.5, it will be used for the transaction database. 2012-10-20 23:08:56 +02:00
thread_annotations.h Replace leveldb/ with vanilla 1.7.0 2013-01-23 10:41:44 -05: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.