mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Port to *BSD. It runs but isn't terribly useful without Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
cdce0ec322
commit
83883cee45
29 changed files with 5353 additions and 148 deletions
|
@ -29,15 +29,14 @@ template<> struct CompileTimeAssert<true> {};
|
|||
|
||||
#ifndef _WIN32
|
||||
|
||||
#if defined __APPLE__
|
||||
char* strndup (char const *s, size_t n);
|
||||
size_t strnlen(const char *s, size_t n);
|
||||
#else
|
||||
#include <errno.h>
|
||||
#ifdef __linux__
|
||||
#include <byteswap.h>
|
||||
#else
|
||||
char * strndup(char const *s, size_t n);
|
||||
size_t strnlen(const char *s, size_t n);
|
||||
#endif
|
||||
#endif // APPLE
|
||||
#include <errno.h>
|
||||
|
||||
// go to debugger mode
|
||||
#ifdef GEKKO
|
||||
#define Crash()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue