+#ifdef PSP_BUILD
+ #define get_clock_speed() \
+ clock_speed = (clock_speed_number + 1) * 33
+ #define get_clock_speed_number() \
+ clock_speed_number = (clock_speed / 33) - 1
+#elif defined(WIZ_BUILD)
+ #define get_clock_speed() \
+ clock_speed = 300 + (clock_speed_number * 3333) / 100
+ #define get_clock_speed_number() \
+ clock_speed_number = (clock_speed - 300) / 33
+#elif defined(GP2X_BUILD)
+ #define get_clock_speed() \
+ clock_speed = 150 + clock_speed_number * 10
+ #define get_clock_speed_number() \
+ clock_speed_number = (clock_speed - 150) / 10
+#else
+ #define get_clock_speed() 0
+ #define get_clock_speed_number() 0
+#endif
+
+const int
+#ifdef WIZ_BUILD
+ default_clock_speed = 533;
+#elif defined(GP2X_BUILD)
+ default_clock_speed = 200;
+#else
+ default_clock_speed = 333;
+#endif