mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
c5093c3118
Changes in software: - vendor's bugfixes - new FLUTE support - new dependencies in gdome-2 and glib20 - properly install the shared library and headers - replace -pthread with $PTHREAD_LIBS - fix compilation warnings due to C++ headers in -current PR: ports/61068 Submitted by: Panagiotis Astithas <past@noc.ntua.gr> (maintainer)
33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
--- src/common/mcl_osdep.h.orig Sun Dec 7 18:58:22 2003
|
|
+++ src/common/mcl_osdep.h Sun Dec 7 19:00:39 2003
|
|
@@ -44,7 +44,7 @@
|
|
* bit field order is compiler/OS dependant
|
|
* With linux, see the above LINUX_XXX defines...
|
|
*/
|
|
-#if defined(LINUX_I386) || defined(WIN32)
|
|
+#if defined(LINUX_I386) || defined(WIN32) || defined (FREEBSD)
|
|
#define _BIT_FIELDS_LTOH
|
|
#undef _BIT_FIELDS_HTOL
|
|
|
|
@@ -58,7 +58,7 @@
|
|
/*
|
|
* sighandler
|
|
*/
|
|
-#if defined(LINUX)
|
|
+#if defined(LINUX) || defined (FREEBSD)
|
|
/* On Linux systems, signal handlers must be of __sighandler_t type */
|
|
#define sighandler_t __sighandler_t
|
|
|
|
@@ -77,9 +77,9 @@
|
|
#define u_int16_t ushort_t /* or uint16_t */
|
|
#define u_int32_t uint_t /* or uint32_t */
|
|
|
|
-#elif defined (WIN32)
|
|
+#elif defined (WIN32) || defined (FREEBSD)
|
|
|
|
-/* u_xxx absent from WIN32! */
|
|
+/* u_xxx absent from WIN32 and ulong absent from FreeBSD! */
|
|
#define u_int8_t unsigned char /* or uint8_t */
|
|
#define u_int16_t unsigned short /* or uint16_t */
|
|
#define u_int32_t unsigned int /* or uint32_t */
|