Minor cleanup with GOLD define - only use it in System_GetPropertyInt
This commit is contained in:
parent
3ae13f3c05
commit
cf365bb257
15 changed files with 92 additions and 54 deletions
|
@ -49,7 +49,13 @@
|
|||
#include "unittest/UnitTest.h"
|
||||
|
||||
std::string System_GetProperty(SystemProperty prop) { return ""; }
|
||||
int System_GetPropertyInt(SystemProperty prop) { return -1; }
|
||||
int System_GetPropertyInt(SystemProperty prop) {
|
||||
switch (prop) {
|
||||
case SYSPROP_APP_GOLD:
|
||||
return 0;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifndef M_PI_2
|
||||
#define M_PI_2 1.57079632679489661923
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue