X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/d9d124ef1581f8aabccb7beb002926ad9ac7a735..6b0d2bb61bd33166b18d9504d69e25b430d2f21a:/src/serialize.c?ds=inline diff --git a/src/serialize.c b/src/serialize.c index 72e3fd4..0a1c2fd 100644 --- a/src/serialize.c +++ b/src/serialize.c @@ -1,6 +1,6 @@ /* am7xxx - communication with AM7xxx based USB Pico Projectors and DPFs * - * Copyright (C) 2012 Antonio Ospite + * Copyright (C) 2012-2014 Antonio Ospite * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,13 +18,7 @@ #include -#ifdef __MINGW32__ -#define le32toh(x) (x) -#define htole32(x) (x) -#else -#include -#endif - +#include "portable_endian.h" #include "serialize.h" uint8_t get_8(uint8_t **bufferp)