소스 검색

Fix for Android build.

woollybah 10 년 전
부모
커밋
e55fc5d19a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      blitz.mod/blitz_gc.c

+ 5 - 0
blitz.mod/blitz_gc.c

@@ -16,9 +16,14 @@ extern void *_data_start__;
 #endif
 
 #ifdef __linux
+#ifdef __ANDROID__
+extern int __data_start[];
+extern int _end[];
+#else
 extern void *__data_start;
 extern void *_end;
 #endif
+#endif
 
 static void gc_finalizer( void *mem,void *pool ){
 	((BBGCPool*)pool)->free( (BBGCMem*)mem );