X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/7b9b5c786c2101f5705dc81378a3ef0785fed3a6..f0c6e17d1ca2c636036ae6cafccd57bd95f6d0c5:/src/serialize.c 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)