subsurface/smtk-import
Salvador Cuñat 95ee579150 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>
2017-06-11 13:50:59 -07:00
..
cmake/Modules smtk-import: add cmake modules and .nsi skeleton 2017-06-11 13:50:30 -07:00
CMakeLists.txt Let command line version not open an X window 2017-06-11 13:50:30 -07:00
smartrak.c smtk-import: portability: rework non portable funcs 2017-06-11 13:50:59 -07:00
smrtk2ssrfc_window.cpp Add SPDX header to smartrak importer 2017-04-29 13:32:55 -07:00
smrtk2ssrfc_window.h Add SPDX header to smartrak importer 2017-04-29 13:32:55 -07:00
smrtk2ssrfc_window.ui SmartTrak import - CLI parser and GUI files 2015-11-12 07:39:14 -08:00
smtk_standalone.cpp Let command line version not open an X window 2017-06-11 13:50:30 -07:00