Lendfating / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Build issue on DragonFly BSD (patch to build correctly included) #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile leveldb on DragonFly BSD
2. Error output the same as 
https://code.google.com/p/leveldb/issues/detail?id=98

What is the expected output? What do you see instead?
Expected output is compilation, actual output is 

In file included from ./port/port.h:14,
                 from ./db/filename.h:14,
                 from db/builder.cc:7:
./port/port_posix.h:67: error: '__BYTE_ORDER' was not declared in this scope
./port/port_posix.h:67: error: '__LITTLE_ENDIAN' was not declared in this scope

What version of the product are you using? On what operating system?
leveldb-1.12.0 on DragonFly BSD 3.2.4

Please provide any additional information below.
I have attached a patch that fixes this. The same exception made for FreeBSD 
just has to be made for DragonFly BSD as well.

Original issue reported on code.google.com by ad...@garyshood.com on 21 Jul 2013 at 11:59

Attachments: