Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make TLSF generally available (outside of PS3 builds)

  • Loading branch information...
commit c19da967b516b957b98720f29963b927230fb631 1 parent 2631888
Andreas Öman andoma authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  Makefile
  2. +1 −1  src/showtime.h
  3. +1 −0  support/ps3.mk
2  Makefile
View
@@ -567,7 +567,7 @@ endif
# TLSF (Two Level Segregated Fit) memory allocator
##############################################################
-SRCS-${CONFIG_TLSF} += ext/tlsf/tlsf.c ext/tlsf/tlsf_ps3.c
+SRCS-${CONFIG_TLSF} += ext/tlsf/tlsf.c
include support/${OS}.mk
2  src/showtime.h
View
@@ -157,7 +157,7 @@ void my_localtime(const time_t *timep, struct tm *tm);
* OOM conditions
*/
-#if ENABLE_TLSF
+#if defined(ENABLE_TLSF) && defined(PS3)
void *mymalloc(size_t size);
1  support/ps3.mk
View
@@ -8,6 +8,7 @@ SRCS += src/arch/ps3/ps3_main.c \
src/arch/ps3/ps3_trap.c \
src/networking/net_psl1ght.c \
src/audio/ps3/ps3_audio.c \
+ ext/tlsf/tlsf_ps3.c \
#
# Install
Please sign in to comment.
Something went wrong with that request. Please try again.