Skip to content

Instantly share code, notes, and snippets.

Last active Feb 29, 2020
What would you like to do?
#define _GNU_SOURCE
#include <assert.h>
#include <dlfcn.h>
#include <stdio.h>
#include <string.h>
#include <pthread.h>
// pkg install linux-c7-devtools
// /compat/linux/bin/cc --sysroot=/compat/linux -m64 -std=c99 -Wall -ldl -pthread -fPIC -shared -o fmod_workaround.c
// env LD_LIBRARY_PATH=< dir> ./PillarsOfEternity
int pthread_attr_setschedparam(pthread_attr_t* attr, const struct sched_param* param) {
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment