Skip to content

Commit

Permalink
Conditional compile of some openvpn-dependent code.
Browse files Browse the repository at this point in the history
  • Loading branch information
phabrics committed Aug 16, 2024
1 parent e447ed2 commit cc88450
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libtme/threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ tme_event_write (tme_event_t hand, void *data, int len)
#define tme_event_write tme_write
#endif // !WIN32

#if defined(TME_THREADS_FIBER) || defined(WIN32)
static _tme_inline event_t
tme_event_handle (const tme_event_t hand)
{
Expand Down Expand Up @@ -581,3 +582,4 @@ tme_event_yield(tme_event_t hand, void *data, size_t len, unsigned int rwflags,
}
return rc;
}
#endif // openvpn-dependent

0 comments on commit cc88450

Please sign in to comment.