Move baked-in dependencies to 'deps' directory

This commit is contained in:
twinaphex 2012-11-20 03:34:45 +01:00
parent ff1920c2f0
commit aae3b10169
9 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
#include "../driver.h" #include "../driver.h"
#include <stdlib.h> #include <stdlib.h>
#ifdef RARCH_CONSOLE #ifdef RARCH_CONSOLE
#include "../console/librsound/rsound.h" #include "../deps/librsound/rsound.h"
#else #else
#include <rsound.h> #include <rsound.h>
#endif #endif

View File

@ -232,7 +232,7 @@ AUDIO HERMITE
RSOUND RSOUND
============================================================ */ ============================================================ */
#ifdef HAVE_RSOUND #ifdef HAVE_RSOUND
#include "../../console/librsound/librsound.c" #include "../../deps/librsound/librsound.c"
#include "../../audio/rsound.c" #include "../../audio/rsound.c"
#endif #endif
@ -379,5 +379,5 @@ MENU
RZLIB RZLIB
============================================================ */ ============================================================ */
#ifdef WANT_RZLIB #ifdef WANT_RZLIB
#include "../rzlib/rzlib.c" #include "../../deps/rzlib/rzlib.c"
#endif #endif

View File

@ -17,7 +17,7 @@
#ifndef _RARCH_CONSOLE_RZLIB_H #ifndef _RARCH_CONSOLE_RZLIB_H
#define _RARCH_CONSOLE_RZLIB_H #define _RARCH_CONSOLE_RZLIB_H
#include "rzlib/zlib.h" #include "../deps/rzlib/zlib.h"
#define WRITEBUFFERSIZE (1024 * 512) #define WRITEBUFFERSIZE (1024 * 512)

2
hash.h
View File

@ -23,7 +23,7 @@
void sha256_hash(char *out, const uint8_t *in, size_t size); void sha256_hash(char *out, const uint8_t *in, size_t size);
#ifdef HAVE_ZLIB #ifdef HAVE_ZLIB
#include "console/rzlib/zlib.h" #include "deps/rzlib/zlib.h"
static inline uint32_t crc32_calculate(const uint8_t *data, size_t length) static inline uint32_t crc32_calculate(const uint8_t *data, size_t length)
{ {
return crc32(0, data, length); return crc32(0, data, length);