commit | 4055f90f083736f966a5424ec18caea917c04d8d | [log] [tgz] |
---|---|---|
author | William Wilgus <me.theuser@yahoo.com> | Mon Dec 10 01:36:33 2018 -0600 |
committer | William Wilgus <me.theuser@yahoo.com> | Mon Dec 10 01:36:33 2018 -0600 |
tree | 309521c3b5adf8ffb0def612a9c0a4b844a47862 | |
parent | 62a5ed49cc187120793ea50e0eec4e18c8bc0441 [diff] |
Fix host build for newer linux distros I realized there was a better way to do this.. Instead of specifying a path just have gcc run the preprocessor (-E) on an input file consisting of only '#include <byteswap.h>' if it succeeds then we can use it if not then don't define OS_USE_BYTESWAP_H Change-Id: I0de8e469445221bc1b5ad8cc032de5b89a85ab66