Changeset 11095


Ignore:
Timestamp:
01/11/12 14:21:21 (13 years ago)
Author:
Eric.Larour
Message:

Windows compilation related issues with snprintf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/io/Matlab/OptionParse.cpp

    r9761 r11095  
    153153                ColumnWiseDimsFromIndex(dims,(int)cindex,ocell->size,ocell->ndims);
    154154                StringFromDims(cstr,dims,ocell->ndims);
    155                 snprintf(namei,161,"%s%s",name,cstr);
     155                #ifdef _INTEL_WIN_
     156                        _snprintf(namei,161,"%s%s",name,cstr);
     157                #else
     158                        snprintf(namei,161,"%s%s",name,cstr);
     159                #endif
    156160                celli=mxGetCell(prhs[0],cindex);
    157161
Note: See TracChangeset for help on using the changeset viewer.