I use MinGW or MSYS to develop my program, I want to make my program behave slightly differently when running on MinGW(or MSYS) shell than what it does when running on CMD.<