Every time you use “#define”, God kills a start-up.
The inability to spell is still no excuse for abbreviations like CUST_TBL and PROD_REM. At some point before this you’ve crossed into being lazy. [It might have been an excuse in the days of 80 column punch cards, but you’ve got a 21″ monitor now, don’t you, you lazy bastard, and I’m not really worried that meaningful identifier names are crowding out the pixels currently devoted to Reddit and Facebook. Really not.]