Added projects for cd-drive, cd-read, iso-info, iso-read, mmc-tool, and add them to solution.
Everything compiles and works.
Modify iso-info so it does declare macro as expected by VS.
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.
Windows SDK does have fcntl.h, snprintf, sys/stat.h, vsnprintf, windows.h and lseek64. Does not have inttypes.h. Modify config.h to reflect this.
Windows 8 WDK requires us to specify ddk headers will be used usermode.
__PRETTY_FUNCTION__ is defined in MingW but not in VS. Equal to __FUNCSIG__
DDK headers are not longer in a folder (as of Win8 WDK)
Windows SDK defines _snprintf, same as snprintf.
VS didn't like bool declarations to be inline to function return. Also, it's BOOL in Windows SDK.
Specific VS version.h should be used when using VS.
DOES COMPILE
Corrected references and folders.
Removed XBOX references.
Added a manually managed version.h as VS does not support autoconf macros.
Check if VS is in use to point to this version.h
gitignore for VS files.
Removed nonexistant files from VS projects.
DOES NOT YET COMPILE
Add real tests for osx, maybe be useful in a more general way?
Don't return on any test fail, wait until all are done (they're not mutually exclusive).
Since _Bool is only ever a keyword and not a macro, and we can't
test for HAVE_STDBOOL_H in the headers, remove the #ifdef for it in
<cdio/types.h> and instead, simply define it as 'int'. Replace
inclusion of <stdbool.h> with <cdio/types.h> so that a consistent
definition of bool is used.
Signed-off-by: Natalia Portillo <claunia@claunia.com>
Change example to the correct behaviour, that the application should do the checking not the library.
Added new interfaces defined from MMC >=3 (IEEE1394B, SATA, USB) and the Vendor Unique one (can be important) that was missing.
If Mac OS X SDK is 10.5, include bluray headers, if not manually define the BD media class for IOKit travelling.
When searching for an optical drive, search also for BD media class, so if drive is a BD with a BD disc it will be found (BD with CD or DVD discs were found before).