Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed May 19, 2024
1 parent f220593 commit 5d2c2af
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/lib/ares_event_configchg.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ struct ares_event_configchg {

void ares_event_configchg_destroy(ares_event_configchg_t *configchg)
{
#ifdef WATT32
#ifdef __WATCOMC__
/* Not supported */
#else
if (configchg->ifchg_hnd != NULL) {
Expand All @@ -175,16 +175,18 @@ void ares_event_configchg_destroy(ares_event_configchg_t *configchg)
#endif
}

static ares_event_configchg_cb(PVOID CallerContext, PMIB_IPINTERFACE_ROW Row, MIB_NOTIFICATION_TYPE NotificationType)
#ifndef __WATCOMC__
static void ares_event_configchg_cb(PVOID CallerContext, PMIB_IPINTERFACE_ROW Row, MIB_NOTIFICATION_TYPE NotificationType)
{
ares_event_configchg_t *configchg = CallerContext;
ares_event_configchg_reload(configchg->e);
}
#endif

ares_status_t ares_event_configchg_init(ares_event_configchg_t **configchg,
ares_event_thread_t *e)
{
#ifdef WATT32
#ifdef __WATCOMC__
return ARES_ENOTIMP;
#else
ares_status_t status = ARES_SUCCESS;
Expand Down

0 comments on commit 5d2c2af

Please sign in to comment.