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