X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/d9d124ef1581f8aabccb7beb002926ad9ac7a735..c6f209c200de5b6e3611cdfe7003ad2e6f5f19e1:/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)