HelloPlatform

#include <stdio.h>

int main()
{
#if _PLATFORM_ == _PLATFORM_TRU64
    printf("Hello _PLATFORM_TRU64!\n");

#endif



#if _PLATFORM_ == _PLATFORM_WIN32
    printf("Hello _PLATFORM_WIN32!\n");

#endif
return 0;
}
/*
Hello _PLATFORM_TRU64!
Hello _PLATFORM_WIN32!
Press any key to continue
*/

 

posted @ 2017-02-23 10:07  sky20080101  阅读(138)  评论(0)    收藏  举报