forked from len0rd/rockbox
Fix Sim for newer distros
__builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this genshortcut.sh is a simple script to make .desktop shortcut files several newer distros don't allow you to run the simulator from the file manager, this or perhaps a different method can probably be included while building a sim at a later date. for now it can be run manually like so: similar to ../tools/configure run from your simulator folder ../tools/genshortcut.sh exepath shortname icon ex. ../tools/genshortcut.sh ./rockboxui clip+sim music-app Change-Id: Ia05d3a9349b27c5968a4a7a68b2eb480e60faec3
This commit is contained in:
parent
4e8ef17a8b
commit
9450689483
3 changed files with 52 additions and 0 deletions
|
@ -23,6 +23,10 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef SIM_USE_BYTESWAP_H
|
||||
#include <byteswap.h>
|
||||
#endif
|
||||
|
||||
#ifndef __MINGW32__
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue