[x264-devel] VS2008 compilation error (need of replacement __WIN32__ with _WIN32)

BugMaster BugMaster at narod.ru
Thu Dec 27 03:18:12 CET 2007


I try to compile x264 in VS2008 and get the error:
error LNK2019: unresolved external symbol _strtok_r referenced in function _parse_zones

For fixing this error I replace __WIN32__ with _WIN32 in osdep.h and it compiles
successfully. So here is my patch which make that changes and also
replace WIN32 with _WIN32 in cpu.c (I think this would be more correct)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_msvs_compilation.diff
Type: application/octet-stream
Size: 859 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20071227/b436c0c7/attachment.obj 


More information about the x264-devel mailing list