This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC3220SF: How to include windows.h in to CCS Studio

Part Number: CC3220SF

Tool/software: TI C/C++ Compiler

Hi, I want to include Windows.h and wincrypt.h, because i'm using mbedtls library for encryption and decryption in that mbedtls using this files.

I add mbedtls .c and .h files in my CCS project i when i try to build it i got errors as below

#error "Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in config.h"

#error "This module only works on Unix and Windows, see MBEDTLS_NET_C in config.h"

#error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h"

#include <sys/stat.h> cannot open this file 

 i build the mbedtls  in Visual studio, it is working fine , when i added the same files i'm getting errors  as above in VS a predefined macro was add in pre-processor _WIN32 if define in pre processor i got error 

cannot open this file  windows.h 

can any one suggest me how to solve this problems