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:
Alex Smith
2012-08-05 08:46:30 +01:00
parent f429464535
commit 3fed1a15f5
36 changed files with 167 additions and 128 deletions
+5 -1
View File
@@ -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))