njuhugn / leveldb

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

define PLATFORM_IS_LITTLE_ENDIAN on BSD's correctly #243

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
define PLATFORM_IS_LITTLE_ENDIAN on BSD's correctly

What steps will reproduce the problem?
1. Try to build on NetBSD/DragonflyBSD/OpenBSD

What is the expected output? 
A successfull build.

What do you see instead?

/port/port_posix.h:67:35: error: '__BYTE_ORDER' was not declared in this scope
./port/port_posix.h:67:35: error: '__LITTLE_ENDIAN' was not declared in this 
scope

What version of the product are you using? On what operating system?

OpenBSD -current

Please provide any additional information below.

This will also fixes:

Issue 137 (NetBSD) https://code.google.com/p/leveldb/issues/detail?id=137
Issue 192 (DragonflyBSD) https://code.google.com/p/leveldb/issues/detail?id=192

Thanks in advance,
Fabian Raetz

Original issue reported on code.google.com by fabian.r...@gmail.com on 30 Jun 2014 at 2:00

Attachments: