mirror of
https://github.com/curl/curl.git
synced 2026-07-31 10:48:04 +03:00
dnsd.c fixup for AmigaOS
This commit is contained in:
parent
36afa2772f
commit
3ed479ad27
1 changed files with 9 additions and 4 deletions
|
|
@ -23,6 +23,8 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifndef __AMIGA__
|
||||
|
||||
static int dnsd_wrotepidfile = 0;
|
||||
static int dnsd_wroteportfile = 0;
|
||||
|
||||
|
|
@ -30,10 +32,6 @@ static int dnsd_wroteportfile = 0;
|
|||
#include <sys/select.h>
|
||||
#endif
|
||||
|
||||
#ifdef __AMIGA__
|
||||
#error building dnsd on AMIGA os is unsupported
|
||||
#endif
|
||||
|
||||
static uint16_t get16bit(const unsigned char **pkt, size_t *size)
|
||||
{
|
||||
const unsigned char *p = *pkt;
|
||||
|
|
@ -1063,3 +1061,10 @@ dnsd_cleanup:
|
|||
logmsg("========> dnsd quits");
|
||||
return result;
|
||||
}
|
||||
#else
|
||||
static int test_dnsd(int argc, const char **argv)
|
||||
{
|
||||
logmsg("building dnsd on AMIGA os is unsupported");
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue