Skip to content

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

Closed
@cmumford

Description

Original issue 192 created by [email protected] on 2013-07-21T23:59:36.000Z:

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions