TFTLCD pin reassignment

I want to use UNO digital pin 10 in place of pin 2 for the 2.4 inch MCUFriend diplay. I have modified the pinmagic.h file of TFTLCD Library but it's not working.Can anyone find the error?

#else // Uno w/Breakout board

  #define write8inline(d) {                          \
    PORTD = (PORTD & B00000111) | ((d) & B11111000); \
    PORTB = (PORTB & B11111000) | ((d) & B00000111); \
    WR_STROBE; }
  #define read8inline(result) {                       \
    RD_ACTIVE;                                        \
    DELAY7;                                           \
    result = (PIND & B11111000) | (PINB & B00000111); \
    RD_IDLE; }
  #define setWriteDirInline() { DDRD |=  B11111000; DDRB |=  B00000111; }
  #define setReadDirInline()  { DDRD &= ~B11111000; DDRB &= ~B00000111; }

 #endif

That looks fine to me. Note that you must define a macro somewhere to specify the Breakout board.

The most likely problem is a badly fitting jumper wires.
God invented Shields so that you could plug them into the Arduino header sockets.

It is a bad idea (tm) to change Shield wiring.

David.