mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 01:42:53 +03:00
#if instead of #ifdef used in definition of struct coap_context_t
- replaced #if with #ifdef; compilation error gone.
This commit is contained in:
1 parent
91a20eb67f
commit
bb15767f4d
1 file changed
+1
-1
@@ -110,7 +110,7 @@ typedef struct coap_context_t {
|
||||
coap_tick_t sendqueue_basetime;
|
||||
coap_queue_t *sendqueue;
|
||||
coap_endpoint_t *endpoint; /**< the endpoint used for listening */
|
||||
#if WITH_POSIX
|
||||
#ifdef WITH_POSIX
|
||||
int sockfd; /**< send/receive socket */
|
||||
#endif /* WITH_POSIX */
|
||||
#ifdef WITH_CONTIKI
|
||||
|
||||
Reference in new issue
Block a user