Opened 12 years ago

Closed 12 years ago

Last modified 20 months ago

#3945 closed defect (fixed)

RESIDUAL: missing vsnprintf in MSVC7.x, doesn't compile

Reported by: SF/quietust Owned by: bluegr
Priority: normal Component: ResidualVM
Keywords: Cc:
Game:

Description

Recently, Residual was updated to make use of ScummVM's "common" code; as a result, it no longer compiles in MSVC 7.1 (or 7.0, presumably) due to "vsnprintf" being undefined.

ScummVM's 'common/scummsys.h' includes a conditional "#define vsnprintf _vsnprintf" which presumably needs to be added to Residual's 'common/sys.h'.

Ticket imported from: #2095663. Ticket imported from: bugs/3945.

Change History (3)

comment:1 by bluegr, 12 years ago

Fixed - added the same code that it's in scummvm's common/scummsys.h to Residual's common/sys.h

comment:2 by bluegr, 12 years ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed

comment:3 by digitall, 20 months ago

Component: ResidualVM
Note: See TracTickets for help on using tickets.