Changeset 1:ee063b6aaa32 in vscpl for misc


Ignore:
Timestamp:
01/13/13 18:34:10 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The Thread class can be compiled for Linux and Win32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/vscpl.m4.in

    r0 r1  
    99    AM_CONDITIONAL([TARGET_API_WIN64], test $_target_win32 -eq 0 -a "$host_cpu" = "x86_64")
    1010    AM_CONDITIONAL([TARGET_API_POSIX], test $_target_win32 -ne 0)
     11    TARGET_API_POSIX=0
     12    TARGET_API_WIN32=0
     13    TARGET_API_WIN64=0
    1114    if test $_target_win32 -eq 0; then
    1215        if test "$host_cpu" = "x86_64"; then
    13            AC_DEFINE([TARGET_API_WIN64], [1], [Define if the target is the 64-bit Win32 API.])
     16            TARGET_API_WIN64=1
    1417        fi
    15         AC_DEFINE([TARGET_API_WIN32], [1], [Define if the target is the Win32 API.])
     18        TARGET_API_WIN32=1
    1619    else
    17         AC_DEFINE([TARGET_API_POSIX], [1], [Define if the target is the POSIX API.])
     20        TARGET_API_POSIX=1
    1821    fi
    1922
     23    AC_SUBST(TARGET_API_POSIX)
     24    AC_SUBST(TARGET_API_WIN32)
     25    AC_SUBST(TARGET_API_WIN64)
    2026])
    2127
Note: See TracChangeset for help on using the changeset viewer.