#include "t_map.h"
#include "t_update.h"
#include "u_time.h"
+#include "u_stdlib.h"
struct lrts_config lrts_global_cfg;
struct lrts_state lrts_global_state;
#include "p_posix/p_init.c"
#include "p_posix/p_getopt.c"
#include "p_pc/u_string.c"
+#include "p_pc/u_stdlib.c"
#else
#error "No platform is provided"
#endif
--- /dev/null
+#include "../u_stdlib.h"
+
+i64 u_strtol(const char *s, char **end, int base) {
+ return strtol(s, end, base);
+}
u_fp u_fp_sqrt(u_fp n);
+
#endif
--- /dev/null
+#ifndef U_STDLIB_H__
+#define U_STDLIB_H__
+
+i64 u_strtol(const char *s, char **end, int base);
+
+#endif