Turn on DEBUG in C sources files
//
// Turn on debugging if desired.
//
char* env_ptr = getenv("DEBUG");
if (env_ptr != NULL && toupper(*env_ptr) == 'Y')
{
SET_ZFLAG(ZFLAG_DEBUG_EVERYTHING);
}
12364 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
//
// Turn on debugging if desired.
//
char* env_ptr = getenv("DEBUG");
if (env_ptr != NULL && toupper(*env_ptr) == 'Y')
{
SET_ZFLAG(ZFLAG_DEBUG_EVERYTHING);
}