Additional goes and woes in the VS projects to get it all to work together.

snprintf definition should go in config.h
If Win32 is enabled and Joliet no, it fails. Joliet should be enabled.
vsnprintf definition should go in config.h
lseek64 is defined as _lseeki64 in Windows SDK.
types.h should go to correct place for manually created unistd.h in VS
Macros with arguments are defined differently in GCC than in VS.
This commit is contained in:
2013-10-19 23:18:11 +01:00
parent c0d32b3e8c
commit f5f3c951bf
7 changed files with 71 additions and 28 deletions

View File

@@ -54,8 +54,9 @@ typedef uint8_t ubyte;
to compensate for missing UNIX types is to include a custom
unistd.h that defines them. Such a file is provided with
the libcdio source, in the MSVC/missing directory */
// Natalia Portillo: the missing directory does not appear in the whole git history, I recreated it.
#if defined(_MSC_VER)
#include <unistd.h>
#include <cdio/msvc/unistd.h>
#endif
/* default HP/UX macros are broken */