diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-26 02:38:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-26 02:38:07 +0000 |
commit | 49691c18d8bad22da774970c6b8e767cc7f4b7d6 (patch) | |
tree | 7f57242dec8e84dc6b448984adf8fee990e69451 /nuttx/netutils/dhcpd/dhcpd.c | |
parent | aa1a45e0b91b62ec15f3cb21413c4f75aec49486 (diff) | |
download | px4-nuttx-49691c18d8bad22da774970c6b8e767cc7f4b7d6.tar.gz px4-nuttx-49691c18d8bad22da774970c6b8e767cc7f4b7d6.tar.bz2 px4-nuttx-49691c18d8bad22da774970c6b8e767cc7f4b7d6.zip |
Add host based test for wget()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1644 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/dhcpd/dhcpd.c')
-rw-r--r-- | nuttx/netutils/dhcpd/dhcpd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/netutils/dhcpd/dhcpd.c b/nuttx/netutils/dhcpd/dhcpd.c index 53e7462b2..be7a5c3af 100644 --- a/nuttx/netutils/dhcpd/dhcpd.c +++ b/nuttx/netutils/dhcpd/dhcpd.c @@ -43,11 +43,16 @@ typedef unsigned char uint8; typedef unsigned short uint16; typedef unsigned int uint32; typedef unsigned char boolean; + # define HTONS(a) htons(a) # define HTONL(a) htonl(a) + # define CONFIG_CPP_HAVE_WARNING 1 +# define FAR + # define ndbg(...) printf(__VA_ARGS__) # define nvdbg(...) printf(__VA_ARGS__) + # define TRUE (1) # define FALSE (0) # define ERROR (-1) |