diff --git a/containers/aligned_vector.c b/containers/aligned_vector.c index 1bac8a5..af93d36 100644 --- a/containers/aligned_vector.c +++ b/containers/aligned_vector.c @@ -13,7 +13,12 @@ static inline void* memalign(size_t alignment, size_t size) { #include #endif +#ifdef _arch_dreamcast #include "../GL/private.h" +#else +#define FASTCPY memcpy +#endif + #include "aligned_vector.h" void aligned_vector_init(AlignedVector* vector, unsigned int element_size) { diff --git a/containers/named_array.h b/containers/named_array.h index 9bd6c50..d6be276 100644 --- a/containers/named_array.h +++ b/containers/named_array.h @@ -7,8 +7,6 @@ extern "C" { #endif -#include "../GL/private.h" - typedef struct { unsigned int element_size; unsigned int max_element_count;