Change exit codes to #define constants.
Revert "Change exit codes to #define constants."

This reverts commit b83a2c8bafaff8f8538b2d4ddd0296697ec956f9.