mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 13:40:34 -04:00
- deploy DATADIR/DOCSDIR - don't use internal .mk work variables, rely on supported ones _DISTDIR -> DISTDIR/DIST_SUBDIR o use <machine/endian.h> for checking byte order instead of an ARCH check PR: 31078 Submitted by: KATO Tsuguru <tkato@prontomail.com>
13 lines
300 B
C
13 lines
300 B
C
--- hpijs/platform.h.orig Wed Oct 3 03:56:37 2001
|
|
+++ hpijs/platform.h Wed Oct 3 04:20:33 2001
|
|
@@ -13,3 +13,10 @@
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <math.h>
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+#include <machine/endian.h>
|
|
+#if BYTE_ORDER == LITTLE_ENDIAN
|
|
+#define _LITTLE_ENDIAN
|
|
+#endif
|
|
+#endif
|