Mercurial > repos > blastem
diff megawifi.c @ 2041:638eb2d25696 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 05 Aug 2021 09:29:33 -0700 |
parents | a8e3e816a50d |
children |
line wrap: on
line diff
--- a/megawifi.c Sun May 10 00:16:00 2020 -0700 +++ b/megawifi.c Thu Aug 05 09:29:33 2021 -0700 @@ -21,7 +21,7 @@ #include "net.h" #include "util.h" -#ifdef _WIN32 +#if defined(_WIN32) || defined(__APPLE__) # if BYTE_ORDER == LITTLE_ENDIAN #define htobe64(val) ((((uint64_t)htonl((val)&0xFFFFFFFF))<<32) | htonl((val)>>32)) # else