Purpose of #undef right after #define?

197 Views Asked by At

I was looking at the C library "mbedtls-SGX". In the file "config.h", I found the following:

#define MBEDTLS_NET_C
#undef MBEDTLS_NET_C

What is the purpose of this? From my understanding, having #undef right after #define means the macro doesn't do anything.

0

There are 0 best solutions below