Changeset 7547


Ignore:
Timestamp:
08/01/18 23:55:19 (3 months ago)
Author:
baker
Message:
compile SrDatByteDemux?() only #if defined(_M_IX86)
defined(i386)
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/environment/ew_linux.bash

    r7479 r7547  
    4747# -D_FILE_OFFSET_BITS=64 is for Large Filesystem Support (64-bit offsets) on a 32-bit compile (gcc only); it is benign on a 64-bit compile 
    4848 
    49 export GLOBALFLAGS="-m${EW_BITS} -g -D_LINUX -Dlinux -D__i386 -D_INTEL -D_USE_SCHED -D_USE_PTHREADS -D_USE_TERMIOS -D_FILE_OFFSET_BITS=64 -I${EW_HOME}/${EW_VERSION}/include ${WARNFLAGS}" 
     49export GLOBALFLAGS="-m${EW_BITS} -g -D_LINUX -Dlinux -D_INTEL -D_USE_SCHED -D_USE_PTHREADS -D_USE_TERMIOS -D_FILE_OFFSET_BITS=64 -I${EW_HOME}/${EW_VERSION}/include ${WARNFLAGS}" 
    5050export PLATFORM="LINUX" 
    5151 
  • trunk/src/data_sources/srusb2ew/USBXCH/Lib/SrUsbXch.c

    r7309 r7547  
    33533353 
    33543354 
    3355 #ifndef _WIN64     // 'SrDatByteDemux()' with 'asm' won't compile as 64-bt 
     3355//#ifndef _WIN64     // 'SrDatByteDemux()' with 'asm' won't compile as 64-bt 
     3356#if defined(_M_IX86) || defined(__i386) 
    33563357 
    33573358//------------------------------------------------------------------------------ 
     
    34273428 
    34283429                            ); 
     3430 
     3431#else 
     3432 
     3433#error Invalid conditional code path 
    34293434 
    34303435// Closest C code equivalent 
     
    98709875 
    98719876 
    9872 #ifndef _WIN64     // 'SrDatByteDemux()' with 'asm' won't compile as 64-bt 
     9877//#ifndef _WIN64     // 'SrDatByteDemux()' with 'asm' won't compile as 64-bt 
     9878#if defined(_M_IX86) || defined(__i386) 
    98739879 
    98749880//------------------------------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.