The recent global change regarding htons allowed to remove this hack :-)
This commit is contained in:
parent
5585d72c86
commit
842c6a018a
3 changed files with 3 additions and 15 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: wpcap.c,v 1.19 2010/10/19 18:29:04 adamdunkels Exp $
|
||||
* $Id: wpcap.c,v 1.20 2010/10/19 20:30:47 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
@ -54,10 +54,6 @@
|
|||
#define PRINTF(...)
|
||||
#endif
|
||||
|
||||
/* Avoid 'conflicting types' errors. */
|
||||
#define uip_htonl
|
||||
#define uip_htons
|
||||
|
||||
#include "contiki-net.h"
|
||||
#include "sys/log.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-main.c,v 1.19 2010/10/19 18:29:05 adamdunkels Exp $
|
||||
* $Id: contiki-main.c,v 1.20 2010/10/19 20:30:47 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
@ -38,10 +38,6 @@
|
|||
#include <winsock2.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* Avoid 'conflicting types' errors. */
|
||||
#define uip_htonl
|
||||
#define uip_htons
|
||||
|
||||
#include "contiki-net.h"
|
||||
|
||||
#include "sys/clock.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: wpcap.c,v 1.5 2010/10/19 18:29:05 adamdunkels Exp $
|
||||
* $Id: wpcap.c,v 1.6 2010/10/19 20:30:47 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -66,10 +66,6 @@
|
|||
|
||||
#include <err.h>
|
||||
|
||||
/* Avoid 'conflicting types' errors. */
|
||||
#define uip_htonl
|
||||
#define uip_htons
|
||||
|
||||
|
||||
#define PROGRESS(x)
|
||||
|
||||
|
|
Loading…
Reference in a new issue