#define OSSTR "Windows NT"
Action2()
{
char *os;
int i=5;
os=(char*)getenv("OS");
i=strcmp(os,"Windows_NT");
if(i==0)
{
#ifdef OSSTR
lr_output_message("您使用的操作系统是%s",os);
#endif
}
else
{
lr_output_message("未定义操作系统");
}
return 0;
}
Action2()
{
char *os;
int i=5;
os=(char*)getenv("OS");
i=strcmp(os,"Windows_NT");
if(i==0)
{
#ifdef OSSTR
lr_output_message("您使用的操作系统是%s",os);
#endif
}
else
{
lr_output_message("未定义操作系统");
}
return 0;
}