I used this:-
#ifdef USE_POT
//-- use analogread, NOT WORK
potVal = analogRead(potPin);
potVal = 42;
#else
//-- WORK FINE
potVal = (int)random(0, 1023);
#endif
And it worked fine at a steady red.
I haven't got a pot wired up at the moment, but as you can see the analogRead function is being called. Therefore I suggest your pot has not been wired up correctly.