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

@@ -61,8 +61,6 @@
#include <cdio/mmc.h>
#include "cdio/logging.h"
#define snprintf _snprintf; // Windows prepends with underscore.
#if defined (_XBOX)
#define windows_error(loglevel,i_err) { \
cdio_log(loglevel, "Error: file %s: line %d (%s) %ld\n", \