diff --git a/JGE/src/JGE.cpp b/JGE/src/JGE.cpp index 7348c97e9..1e5c4131f 100644 --- a/JGE/src/JGE.cpp +++ b/JGE/src/JGE.cpp @@ -69,6 +69,9 @@ u8 JGE::GetAnalogY() #endif +#ifndef NAN +#define NAN Single::NaN +#endif static map holds; static map oldHolds;