Closed hypafrag closed 2 years ago
Fixed
w_wad.c:364:5: error: implicit declaration of function 'I_EndRead' is invalid in C99 [-Werror,-Wimplicit-function-declaration] I_EndRead ();
by adding I_EndRead declaration to i_video.h
I_EndRead
i_video.h
Fixed unix macros detection based on http://web.archive.org/web/20160306052035/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
Added make mac target with linker options tweaked for apple clang
make mac
I don't have a mac so I can't test compilation on it, but everything looks fine, so I'll merge. Thanks for contributing.
Fixed
by adding
I_EndRead
declaration toi_video.h
Fixed unix macros detection based on http://web.archive.org/web/20160306052035/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
Added
make mac
target with linker options tweaked for apple clang