Ignore Release and Debug folders.

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
This commit is contained in:
2013-10-19 22:07:37 +01:00
parent c0c611e258
commit c0d32b3e8c
11 changed files with 97 additions and 26 deletions

View File

@@ -2,6 +2,7 @@
Copyright (C) 2003, 2004, 2005, 2008, 2009, 2010, 2011
Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2013 Natalia Portillo <claunia@claunia.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -43,7 +44,11 @@
#include "cdio_assert.h"
#include <cdio/types.h>
#include <cdio/util.h>
#if defined (_MSC_VER) || defined (_XBOX)
#include <cdio/msvc/version.h>
#else
#include <cdio/version.h>
#endif
size_t
_cdio_strlenv(char **str_array)