TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pre-defined C/C++ Compiler Macros

26 点作者 st_goliath超过 2 年前

3 条评论

wahern超过 2 年前
For anyone as confused as I was, this seems to be a fork of the original database at <a href="https:&#x2F;&#x2F;sourceforge.net&#x2F;p&#x2F;predef&#x2F;wiki&#x2F;Home&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sourceforge.net&#x2F;p&#x2F;predef&#x2F;wiki&#x2F;Home&#x2F;</a> The Sourceforge page now includes a link to this new repository.
评论 #34078122 未加载
Night_Thastus超过 2 年前
This may be missing a couple under the Windows category, such as _WINDOWS and WIN32 (no underscores).<p>Buried in some code I wrote is this, because of compatibility nightmares:<p>#if defined(__WIN32__) || defined(_WIN32) || defined(_WINDOWS) || defined(WIN32)
评论 #34072750 未加载
Tempest1981超过 2 年前
_WIN32 can trick people:<p><pre><code> _WIN16 Defined for 16-bit environments _WIN32 Defined for both 32-bit and 64-bit environments _WIN64 Defined for 64-bit environments</code></pre>