1
0
Fork 0
forked from len0rd/rockbox

Various adjustments for MSVC.

- MSVC uses different namings in some places. Adjust the sources via the
  preprocessor if build with MSVC.
- MSVC doesn't know about __func__, use name instead.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31185 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-12-08 21:59:13 +00:00
parent d2c1ece304
commit 5ffd2f7598
3 changed files with 10 additions and 3 deletions

View file

@ -23,7 +23,9 @@
#define __SANSAIO_H
#include <stdint.h>
#include <unistd.h>
#if !defined(_MSC_VER)
#include <unistd.h> /* not available on MSVC */
#endif
#if defined(__WIN32__) || defined(_WIN32)
#include <windows.h>