From db3613112e0f466c7815e60a30e87438fd6a6e47 Mon Sep 17 00:00:00 2001 From: Martijn Otto Date: Wed, 1 Jul 2015 09:48:56 +0200 Subject: [PATCH] Removed some macros for FreeBSD: Apparantly they are not needed. We might need to remove them for NetBSD and DragonFly as well --- include/endian.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/endian.h b/include/endian.h index bcc4e0e..8662464 100644 --- a/include/endian.h +++ b/include/endian.h @@ -1,24 +1,24 @@ /** * Endian.h - * + * * On Apple systems, there are no macro's to convert between little * and big endian byte orders. This header file adds the missing macros - * + * * @author madmongo1 - * + * * And we have also copied code from the "portable_endian.h" file by * Mathias Panzenböck. His license: - * + * * "License": Public Domain - * I, Mathias Panzenböck, place this file hereby into the public - * domain. Use it at your own risk for whatever you like. In case - * there are jurisdictions that don't support putting things in the - * public domain you can also consider it to be "dual licensed" - * under the BSD, MIT and Apache licenses, if you want to. This - * code is trivial anyway. Consider it an example on how to get the - * endian conversion functions on different platforms. + * I, Mathias Panzenböck, place this file hereby into the public + * domain. Use it at your own risk for whatever you like. In case + * there are jurisdictions that don't support putting things in the + * public domain you can also consider it to be "dual licensed" + * under the BSD, MIT and Apache licenses, if you want to. This + * code is trivial anyway. Consider it an example on how to get the + * endian conversion functions on different platforms. */ - + /** * Include guard */ @@ -116,7 +116,7 @@ /** * NetBSD handling */ -#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) +#elif defined(__NetBSD__) || defined(__DragonFly__) #include #define be16toh(x) betoh16(x)