summaryrefslogtreecommitdiffstats
path: root/subsurface_enabled_translations
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2017-05-20 09:41:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-11 13:50:59 -0700
commit95ee57915027b41040e57fdeac8cd8e0b6be306d (patch)
tree0445cbafe34292d1a504d2c0919b7825d8a92597 /subsurface_enabled_translations
parentb47d18b45ac135ab9c7c0152fd9713d7aee2b407 (diff)
downloadsubsurface-95ee57915027b41040e57fdeac8cd8e0b6be306d.tar.gz
smtk-import: portability: rework non portable funcs
For different reasons some used functions aren't portable or simply are not included in mingw. This includes index, rindex, strptime, and timegm. A workaround for this is needed, if we want to build for windows using mingw based mxe environment. This patch does: - drops index and rindex in favor of strchr and strrchr - substitute strptime with a sscanf parsing - emulate timegm with a private func smtk_timegm() - remove definitions needed by strptime Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'subsurface_enabled_translations')
0 files changed, 0 insertions, 0 deletions