source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: FreeBSD, NetBSD and DragonFly use the same names as Linux.
@ 2012-03-24  6:23 joerg
  0 siblings, 0 replies; only message in thread
From: joerg @ 2012-03-24  6:23 UTC (permalink / raw)
  To: source

Log Message:
-----------
FreeBSD, NetBSD and DragonFly use the same names as Linux.
Add dummy entry for OpenBSD and XXX entry for the rest.

Modified Files:
--------------
    mdocml:
        config.h.post

Revision Data
-------------
Index: config.h.post
===================================================================
RCS file: /home/joerg/cvsroot/mdocml/config.h.post,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lconfig.h.post -Lconfig.h.post -u -p -r1.4 -r1.5
--- config.h.post
+++ config.h.post
@@ -20,9 +20,13 @@
 # define betoh32(x) OSSwapBigToHostInt32(x)
 # define htobe64(x) OSSwapHostToBigInt64(x)
 # define betoh64(x) OSSwapBigToHostInt64(x)
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
 # define betoh32(x) be32toh(x)
 # define betoh64(x) be64toh(x)
+#elif defined(__OpenBSD__)
+/* Nothing */
+#else
+/* XXX Fallback */
 #endif
 
 #ifndef HAVE_STRLCAT
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-24  6:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-24  6:23 mdocml: FreeBSD, NetBSD and DragonFly use the same names as Linux joerg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).