Changeset 39:f9c840ac038d in xplcommon for configure.ac


Ignore:
Timestamp:
01/03/13 09:07:56 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the possibility to distinguish between 32-bit and 64-bit Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r38 r39  
    1414
    1515AM_CONDITIONAL([TARGET_API_WIN32], test $_target_win32 -eq 0)
     16AM_CONDITIONAL([TARGET_API_WIN64], test $_target_win32 -eq 0 -a "$host_cpu" = "x86_64")
    1617AM_CONDITIONAL([TARGET_API_POSIX], test $_target_win32 -ne 0)
    1718if test $_target_win32 -eq 0; then
     19   if test "$host_cpu" = "x86_64"; then
     20       AC_DEFINE([TARGET_API_WIN64], [1], [Define if the target is the 64-bit Win32 API.])
     21   fi
    1822   AC_DEFINE([TARGET_API_WIN32], [1], [Define if the target is the Win32 API.])
    1923else
Note: See TracChangeset for help on using the changeset viewer.