1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-11 23:53:31 +00:00

Merge pull request #29 from ams/master

Fix random OS X non-sense.
This commit is contained in:
aap 2025-01-23 13:49:41 +01:00 committed by GitHub
commit 5f4d51126e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#include "pdp6.h"
#include <SDL2/SDL.h>
#include <SDL.h>
//#define JUSTTESTING

View File

@ -1,6 +1,7 @@
#include "pdp6.h"
#include <unistd.h>
#include <signal.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include <unistd.h>
char *joy_ident = JOY_IDENT;

View File

@ -1,7 +1,7 @@
#include "pdp6.h"
#include <stdarg.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL.h>
#include <SDL_image.h>
#include "args.h"
#include "../art/panelart.inc"

View File

@ -213,7 +213,11 @@ void
threadname(char *name)
{
// TODO: make portable
#ifdef __APPLE__
pthread_setname_np(name);
#else
pthread_setname_np(pthread_self(), name);
#endif
}
int