3

e.g. a mapping for

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

Windows 7, Windows XP => __WIN32__

Linux => __LINUX__

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
math
  • 8,514
  • 10
  • 53
  • 61
  • Duplicate of [Which Cross Platform Preprocessor Defines? (`__WIN32__` or `__WIN32` or `WIN32`)?](http://stackoverflow.com/questions/2989810/which-cross-platform-preprocessor-defines-win32-or-win32-or-win32) (You just asked this question; why are you asking it a second time? If you want macros for multiple platforms, you should modify your original question to clarify it) – James McNellis Jun 07 '10 at 14:12
  • No, first question targets on which define in terms of underscores to choose but this amis at what options do I have in gerneral when targeting a certain platform – math Jun 07 '10 at 14:19

1 Answers1

5

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

Bastien Léonard
  • 60,478
  • 20
  • 78
  • 95