Results 1 to 2 of 2

Thread: Compiler / OS / Architecture / ... detection macros

  1. #1
    Member m^2's Avatar
    Join Date
    Sep 2008
    Location
    Ślůnsk, PL
    Posts
    1,610
    Thanks
    30
    Thanked 65 Times in 47 Posts

    Compiler / OS / Architecture / ... detection macros

    There was some talk about it recently and I just found a great resource that specifies C(++) preprocessor macros defined on various systems:
    http://predef.sourceforge.net

  2. #2
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,257
    Thanks
    307
    Thanked 797 Times in 489 Posts
    Nice. Looks like I was using "#ifdef unix" incorrectly.

Similar Threads

  1. Cool compiler benchmark
    By m^2 in forum The Off-Topic Lounge
    Replies: 0
    Last Post: 31st January 2011, 21:14
  2. Structure detection
    By Shelwien in forum Data Compression
    Replies: 0
    Last Post: 13th September 2010, 09:54
  3. C++ compile-time constant detection
    By Shelwien in forum The Off-Topic Lounge
    Replies: 5
    Last Post: 5th August 2010, 08:11
  4. Cygwin-hosted Linux cross compiler (G++ 3.3.6)
    By Rugxulo in forum Data Compression
    Replies: 1
    Last Post: 5th June 2009, 04:02
  5. Text Detection
    By Simon Berger in forum Data Compression
    Replies: 15
    Last Post: 30th May 2009, 09:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •