If there are more efficient (but still correct) ways, just replace the implementation of strcpy. And let the programs using strcpy call strcpy without a preprocessor mess. cf. The Practice of Programming (A "must" read). hth