fixing build - simulator
This commit is contained in:
parent
f1ec34f032
commit
24ed35ac9c
|
@ -221,7 +221,9 @@ float atoff(const char *param) {
|
||||||
strcpy(todofixthismesswithcopy, param);
|
strcpy(todofixthismesswithcopy, param);
|
||||||
char *string = todofixthismesswithcopy;
|
char *string = todofixthismesswithcopy;
|
||||||
if (indexOf(string, 'n') != -1 || indexOf(string, 'N') != -1) {
|
if (indexOf(string, 'n') != -1 || indexOf(string, 'N') != -1) {
|
||||||
|
#if ! EFI_SIMULATOR
|
||||||
print("NAN from [%s]\r\n", string);
|
print("NAN from [%s]\r\n", string);
|
||||||
|
#endif
|
||||||
return (float) NAN;
|
return (float) NAN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue