#if instead of #ifdef used in definition of struct coap_context_t

- replaced #if with #ifdef; compilation error gone.
This commit is contained in:
Constantine Grantcharov committed 2014-07-24 03:40:21 -04:00
1 parent 91a20eb67f
commit bb15767f4d
1 file changed
+1 -1
+1 -1
View File
@@ -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