diff options
author | Greg Troxel <gdt@ir.bbn.com> | 2013-11-10 09:24:03 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-10 11:12:40 -0500 |
commit | 7edf502c0fa7eb9615061fc7b916737dd4aaa58a (patch) | |
tree | 82866cc1a95ad8e9e7502f55d32a797e9df7e784 /gpsdecode.c | |
parent | 1104b60be9d442c5223bd0af6b88c5ad4e85bf3a (diff) | |
download | gpsd-7edf502c0fa7eb9615061fc7b916737dd4aaa58a.tar.gz |
Fix endian detection on BSD.
On BSD, the macro is _BYTE_ORDER, not __BYTE_ORDER. Adapt to the
presence of either macro. Error out if the macro is not defined.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gpsdecode.c')
0 files changed, 0 insertions, 0 deletions