expected unqualified-id before numeric constant

Hi guys , This is the code I found on some website for nrf24 wireless module.
I receive error messages. and errors points another file pins-arduino.h which is not included in my code . I feel like I define some variable second time but cant fix it.

these are error messages

Arduino: 1.5.8 (Windows 7), Board: “Arduino Uno”

nRF24l01TX.pde:61:18: error: expected unqualified-id before numeric constant
C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard/pins_arduino.h:41:22: note: in expansion of macro ‘MOSI’
static const uint8_t MOSI = 11;
^
nRF24l01TX.pde:57:18: error: expected unqualified-id before numeric constant
C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard/pins_arduino.h:42:22: note: in expansion of macro ‘MISO’
static const uint8_t MISO = 12;
^
nRF24l01TX.pde:54:18: error: expected unqualified-id before numeric constant
C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard/pins_arduino.h:43:22: note: in expansion of macro ‘SCK’
static const uint8_t SCK = 13;
^
Error compiling.

code file is attached, I couldnt paste here since 9000 character limit.

code.ino (10.9 KB)

I think it might be unhappy because of conflicts with your #defines for MOSI, MISO, and SCK. Try commenting those out and see what happens.

MOSI & SCK are already defined in Arduino.h

TX_PLOAD_WIDTH is also defined twice within your sketch.
Once on line 48 where it is given a value of 1
And again on line 66 where it is given a value of 32