Changeset View
Changeset View
Standalone View
Standalone View
head/games/libretro-gpsp/files/patch-libco_aarch64.c
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- libco/aarch64.c.orig 2020-04-28 06:29:00 UTC | |||||
+++ libco/aarch64.c | |||||
@@ -12,7 +12,13 @@ | |||||
#include <stdint.h> | |||||
#ifndef IOS | |||||
-#include <malloc.h> | |||||
+#include <sys/param.h> | |||||
+ | |||||
+void * | |||||
+memalign(size_t align, size_t size) | |||||
+{ | |||||
+ return (aligned_alloc(align, roundup(size, align))); | |||||
+} | |||||
#endif | |||||
#ifdef __cplusplus |