no libc, start on socket x11

This commit is contained in:
veclavtlica
2026-10-04 11:13:07 +03:00
parent 1125073568
commit 14062e9d00
21 changed files with 516 additions and 222 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#include "../std.h"
#include "timer.h"
#include "../time.h"
#include <stdint.h>
#define __USE_POSIX199309 1
#include <time.h>
+9
View File
@@ -0,0 +1,9 @@
#include "time.h"
#include <stdint.h>
uint64_t com_timer_count_ns(void) { return 0; }
void com_timer_profile(uint64_t starttime, const char *what) {
(void)starttime;
(void)what;
}
-14
View File
@@ -1,14 +0,0 @@
#ifndef COM_TIMER_H
#define COM_TIMER_H
#include "../def.h"
#include <stdint.h>
/* Global monotonic counter, meaning it always increases. Not applicable for
* getting "real" time, which the game shouldn't be aware of anyways. */
uint64_t com_timer_count_ns(void);
/* Output elapsed time against previous com_timer_count_ns() result. */
void com_timer_profile(uint64_t starttime, const char *what);
#endif