Vaclav Vobornik
1d626952f9
Added GNU/kFreeBSD kernel name (TARGET_OS)
...
uname -s returns "GNU/kFreeBSD" on Debian GNU/kFreeBSD port. See http://www.debian.org/ports/kfreebsd-gnu/
2013-06-12 14:46:16 +02:00
Pieter Wuille
551b367f19
Allow files to be opened for reading multiple times
2013-04-28 14:15:34 +02:00
Pieter Wuille
20d6f2013b
Checking whether closing succeeds
2013-04-27 20:07:22 +02:00
Pieter Wuille
67efbda4a2
Print actual Win32 error that occurred on file creation failure.
2013-04-27 18:28:41 +02:00
David Grogan
36311b9a19
Fix corruption bug found and analyzed by dhruba@gmail.com
...
https://groups.google.com/d/msg/leveldb/Kc9JxuIUu5A/9P0N9RL4ar8J
2013-01-23 14:00:29 -05:00
Sanjay Ghemawat
f79ddf24a9
added utility to dump leveldb files
2013-01-23 14:00:29 -05:00
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
Pieter Wuille
8aef119f43
Mingw support for Windows LevelDB port
2013-01-23 10:41:44 -05:00
Pieter Wuille
960797a0de
Pre-Vista leveldb::port::InitOnce implementation
2013-01-23 10:41:44 -05:00
Pieter Wuille
21f2ae7563
Native Windows LevelDB port
...
Import native Windows LevelDB port by Hiram Chirino.
Extracted from from https://github.com/chirino/leveldb.git using
git diff dd0d562..aea83b7
2013-01-23 10:41:44 -05:00
Pieter Wuille
00abfccc5d
Remove Snappy support
2013-01-23 10:41:44 -05:00
Pieter Wuille
4786302fb9
Replace leveldb/ with vanilla 1.7.0
2013-01-23 10:41:44 -05:00
Philip Kaufmann
50ce5735d6
LevelDB: build_detect_platform fix NATIVE_WINDOWS indentation
...
- fix some indentation issues
2012-12-12 19:39:00 +01:00
Gavin Andresen
5bd5d6c45c
Merge pull request #1940 from grimd34th/patch-1
...
Add NATIVE_WINDOWS
2012-12-12 09:20:46 -08:00
Jeff Garzik
848c0d5d95
Merge pull request #1945 from centromere/leveldb_fix
...
Fixed compile error on FreeBSD 9.
2012-11-15 18:31:20 -08:00
Arnav Singh
8986a1369f
Fixed making leveldb with custom CFLAGS/CXXFLAGS in the same way as makefile.unix
2012-11-01 08:29:17 -07:00
Alex
17bfb1f437
Fixed compile error on FreeBSD 9.
...
See http://code.google.com/p/leveldb/issues/detail?id=98
2012-10-22 01:46:31 -04:00
grimd34th
46936f343c
Add NATIVE_WINDOWS
...
With a change of libs, and specifying NATIVE_WINDOWS as TARGET_OS it should compile libleveldb.a and libmemenv.a just fine, it did for me and Diapolo when testing.
2012-10-21 11:38:12 -03:00
Pieter Wuille
9f56678fce
Backport Win32 LevelDB env from C++0x to C++
...
Since the gitian mingw compiler doesn't support C++0x yet.
2012-10-20 23:08:56 +02:00
Pieter Wuille
9d503a7285
Disable libsnappy detection in LevelDB
2012-10-20 23:08:56 +02:00
justmoon
94a50fb339
Leveldb Windows port by Edouard Alligand, adapted for MingW by me.
2012-10-20 23:08:56 +02:00
Mike Hearn
5e650d6d2d
Import LevelDB 1.5, it will be used for the transaction database.
2012-10-20 23:08:56 +02:00