Closed GoogleCodeExporter closed 9 years ago
Looking at it some more, would #ifdef macros in freefare_internal.h that use
<libkern/OSByteOrder.h> work?
Original comment by kev.y.w...@gmail.com
on 2 Jan 2012 at 11:08
Maybe the solution is to use _standard_ C functions like:
NAME
htonl, htons, ntohl, ntohs -- convert values between host and network
byte order
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <arpa/inet.h>
uint32_t
htonl(uint32_t hostlong);
uint16_t
htons(uint16_t hostshort);
uint32_t
ntohl(uint32_t netlong);
uint16_t
ntohs(uint16_t netshort);
Original comment by ludovic....@gmail.com
on 19 May 2012 at 11:19
Original comment by romu...@libnfc.org
on 1 Jun 2012 at 12:02
Moved to https://code.google.com/p/libfreefare/issues/detail?id=2
Original comment by yob...@gmail.com
on 15 Jan 2013 at 7:47
Original issue reported on code.google.com by
kev.y.w...@gmail.com
on 2 Jan 2012 at 3:54