Get app_server working on x86_64.
With this commit, app_server now compiles and runs at boot! Nothing particularly interesting happens, just the blue background and a mouse pointer. Remote backends are broken and not compiled in, see #8834. Note that it won't be possible to build this quite yet, need to get the FreeType package uploaded.
This commit is contained in:
@@ -26,7 +26,11 @@ typedef uint32_t in_addr_t;
|
||||
* and we are not allowed to import all the BeOS types here.
|
||||
*/
|
||||
#ifndef htonl
|
||||
extern unsigned long __swap_int32(unsigned long); /* private */
|
||||
# ifdef __HAIKU_BEOS_COMPATIBLE_TYPES
|
||||
extern unsigned long __swap_int32(unsigned long); /* private */
|
||||
# else
|
||||
extern unsigned int __swap_int32(unsigned int); /* private */
|
||||
# endif
|
||||
extern uint16_t __swap_int16(uint16_t); /* private */
|
||||
# if BYTE_ORDER == LITTLE_ENDIAN
|
||||
# define htonl(x) ((uint32_t)__swap_int32(x))
|
||||
|
||||
Reference in New Issue
Block a user