aboutsummaryrefslogtreecommitdiff
path: root/audio/mpu401.h
diff options
context:
space:
mode:
authorColin Snover2017-12-04 19:44:45 -0600
committerEugene Sandulenko2018-08-18 16:30:05 +0200
commitb9a649c3e167bc8176d796db77a6b8449a731250 (patch)
tree0e11ebd6c56852d396bff0ee912a5aef50032aa9 /audio/mpu401.h
parent08314ae61f9ce4efd8ecc221b1a6aec522d82ae8 (diff)
downloadscummvm-rg350-b9a649c3e167bc8176d796db77a6b8449a731250.tar.gz
scummvm-rg350-b9a649c3e167bc8176d796db77a6b8449a731250.tar.bz2
scummvm-rg350-b9a649c3e167bc8176d796db77a6b8449a731250.zip
GUI: Replace use of strdup with Common::String
strdup is a POSIX API, not an ANSI C API. It is not available with -std=c++11 on newlib-based systems, and VS 2015 will throw errors unless it is #defined to alias to _strdup or unless deprecation warnings are turned off (which is not a good idea in general). Common::String is a safer and potentially faster (due to small string optimisation) alternative, so prefer it instead.
Diffstat (limited to 'audio/mpu401.h')
0 files changed, 0 insertions, 0 deletions