Changeset 40 in tspsg-svn for trunk/src


Ignore:
Timestamp:
Jul 21, 2009, 1:13:29 AM (15 years ago)
Author:
laleppa
Message:

Better target OS "bitness" detection...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os.h

    r37 r40  
    2525#define OS_H
    2626
    27 #ifdef _WIN64
     27#if defined(__amd64__) || defined(_M_X64) || defined(__ia64__) || defined(_M_IA64)
    2828        #define BITS " (64-bit)"
    29 #elif defined _WIN32
     29#elif defined(__i386__) || defined(_M_IX86) || defined(_X86_)
    3030        #define BITS " (32-bit)"
    3131#else
Note: See TracChangeset for help on using the changeset viewer.