Is there a list of preprocessor defines for various operating systems (and versions)?

半腔热情 提交于 2019-12-05 02:55:54

问题


e.g. a mapping for

Mac OS 10.6.3 aka Snow Leopard => __APPLE__ && __LP64__?

Windows 7, Windows XP => __WIN32__

Linux => __LINUX__


回答1:


Here you go: http://predef.sourceforge.net/



来源:https://stackoverflow.com/questions/2990172/is-there-a-list-of-preprocessor-defines-for-various-operating-systems-and-versi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!