[libdvdcss-devel] msvc: Map some POSIX function names to their ISO C++ counterparts
[email protected] (Diego Biurrun)
| Newsgroups | gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel |
|---|---|
| Message-ID | <[email protected]> |
libdvdcss | branch: master | Diego Biurrun <[email protected]> | Tue Oct 28 17:59:24 2014 +0100| [fe619aa0c9502670af84815b99a57b0449b9c184] | committer: Diego Biurrun msvc: Map some POSIX function names to their ISO C++ counterparts This silences related complaints from MSVC about those function names. > http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=fe619aa0c9502670af84815b99a57b0449b9c184 --- src/common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common.h b/src/common.h index 44154b3..d2cd4d0 100644 --- a/src/common.h +++ b/src/common.h @@ -74,6 +74,11 @@ typedef __int64 off_t; # endif # define stat _stati64 # define snprintf _snprintf +# define strdup _strdup +# define open _open +# define close _close +# define read _read +# define write _write # endif #endif _______________________________________________ libdvdcss-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libdvdcss-devel