For porting the c file to linux some windows-only commands (and types) has to be replaced with standard commands.
E.g.:
(windows.h):
- LPVOID
- PVOID
- HANDLE
- WIN32_FIND_DATAA, FindFirstFileA, INVALID_HANDLE_VALUE, FILE_ATTRIBUTE_DIRECTORY, FindNextFileA, GetLastError(), ERROR_NO_MORE_FILES, FindClose, error_code, fopen_s, strcpy_s
For porting the c file to linux some windows-only commands (and types) has to be replaced with standard commands.
E.g.:
(windows.h):