Switch to unified view

a/src/smallut.cpp b/src/smallut.cpp
...
...
15
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16
 *   02110-1301 USA
16
 *   02110-1301 USA
17
 */
17
 */
18
#include <stdio.h>
18
#include <stdio.h>
19
#include <stdlib.h>
19
#include <stdlib.h>
20
#ifdef _WIN32
21
// needed for localtime_r under mingw?
22
#define _POSIX_THREAD_SAFE_FUNCTIONS
23
#endif
20
#include <time.h>
24
#include <time.h>
21
#include <ctype.h>
25
#include <ctype.h>
22
#include <errno.h>
26
#include <errno.h>
23
#include <time.h>
24
#include <string.h>
27
#include <string.h>
25
#include <math.h>
28
#include <math.h>
26
29
27
// Older compilers don't support stdc++ regex, but Windows does not
30
// Older compilers don't support stdc++ regex, but Windows does not
28
// have the Linux one. Have a simple class to solve the simple cases.
31
// have the Linux one. Have a simple class to solve the simple cases.