no libc, start on socket x11
This commit is contained in:
+6
-6
@@ -1,10 +1,10 @@
|
||||
#include "../std.h"
|
||||
|
||||
void *com_std_realloc(void *ptr, size_t size) { return NULL; }
|
||||
void com_std_free(void *ptr) {}
|
||||
void *com_std_alloc(void *ptr, size_t size) { return NULL; }
|
||||
void com_std_assert(bool holds) {}
|
||||
void com_std_printf(char const *fmt, ...) {}
|
||||
double com_std_sqrt(double v) { return 0; }
|
||||
double com_std_fabs(double v) { return 0; }
|
||||
double com_std_sin(double v) { return 0; }
|
||||
double com_std_cos(double v) { return 0; }
|
||||
|
||||
double com_std_sqrt(double v) { return __builtin_sqrt(v); }
|
||||
double com_std_fabs(double v) { return __builtin_fabs(v); }
|
||||
double com_std_sin(double v) { return __builtin_sin(v); }
|
||||
double com_std_cos(double v) { return __builtin_cos(v); }
|
||||
|
||||
Reference in New Issue
Block a user