Unknown board define

#if defined AVR_UNO || defined AVR_NANO || defined AVR_PRO || defined AVR_MINI || defined AVR_MICRO

    #define XLAT_PIN    9  // PWM  
    #define BLANK_PIN    10 // PWM
    #define SIN_PIN        11 // MOSI
    #define SCLK_PIN    13 // SCK    
    #define GSCLK_PIN    3  // PWM     
    #define DCPRG_PIN    7    
    #define VPRG_PIN    8     
    #define XERR_PIN    12
    #define SS_PIN        10 // SS

#elif defined AVR_MEGA2560 || defined AVR_MEGA || defined AVR_ADK || defined SAM_DUE     

    #define XLAT_PIN    11 // PWM  
    #define BLANK_PIN    12 // PWM
    #define SIN_PIN        51 // MOSI
    #define SCLK_PIN    52 // SCK    
    #define GSCLK_PIN    9  // PWM    
    #define DCPRG_PIN    8  // PWM
    #define VPRG_PIN    50 // MISO    
    #define XERR_PIN    10 // PWM
    #define SS_PIN        53 // SS

#endif

I have the above code and using the below MC.

However XLAT_PIN and BLANK_PIN etc are undefined.

If the MC is not a Mini, Micros, Nano or Pro then what is it?

I don't suppose there is a preprocessor trick to get a dump of all the active defines?

Which board do you have selected from the Arduino IDE's Tools > Board menu?