Mercurial > hg > Game > Cerium
diff example/get_segment/spe/spe-main.cc @ 460:433892ba596b draft
fix Scheduler.h
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 29 Sep 2009 11:51:25 +0900 |
parents | 6c63423a7dea |
children | ca987c0beb11 |
line wrap: on
line diff
--- a/example/get_segment/spe/spe-main.cc Mon Sep 28 19:19:38 2009 +0900 +++ b/example/get_segment/spe/spe-main.cc Tue Sep 29 11:51:25 2009 +0900 @@ -22,8 +22,6 @@ print_ovly_table(); } -typedef unsigned int u32; -extern unsigned long long _EAR_; /* extern struct tbl1 { @@ -34,11 +32,13 @@ } _ovly_table; */ -#if 0 -unsigned long long _EAR_ = 0; -struct tbl _ovly_table; -#endif +#ifdef NO_OVERLAY +void +print_ovly_table() {} +#else +typedef unsigned int u32; +extern unsigned long long _EAR_; void print_ovly_table() { @@ -57,5 +57,6 @@ (adr) + ov[i].file_offset); } } +#endif /* end */