搜索一個問題 C、C++判斷操作系統 是 Linux還是windows 還是Unix【編譯器內置宏 探索(不是特別滿意)】
http://www.cnblogs.com/ayanmw/archive/2012/07/20/2600911.html