OS X compatibility cleanups.
Reattach the licenses for the compat stuff to the source. Only build/link the compat stuff when it's needed. Rename compat/util.h so it's not confused with util.h. Move all the platform specific defines inside compat/compat.h.
This commit is contained in:
parent
ae126d1009
commit
1c80d1b784
12 changed files with 114 additions and 82 deletions
|
|
@ -53,14 +53,6 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "compat/util.h"
|
||||
#endif
|
||||
|
||||
static int verbose_device_search(char *s);
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue