Skip to content

Commit

Permalink
Changes to support C11, add missing include (#310)
Browse files Browse the repository at this point in the history
* Changes to support C11, add missing include

* revert change to C11 threads
  • Loading branch information
mooinglemur authored Oct 12, 2024
1 parent 50b4333 commit 60215da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else ifeq ($(OS),Windows_NT)
TARGET_WIN32=yes
endif

CFLAGS=-std=c99 -O3 -Wall -Werror -g $(shell $(SDL2CONFIG) --cflags) -Isrc/extern/include
CFLAGS=-std=c11 -O3 -Wall -Werror -g $(shell $(SDL2CONFIG) --cflags) -Isrc/extern/include
CXXFLAGS=-std=c++17 -O3 -Wall -Werror -Isrc/extern/ymfm/src
LDFLAGS=$(shell $(SDL2CONFIG) --libs) -lm -lz -pthread

Expand Down
1 change: 1 addition & 0 deletions src/midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// All rights reserved. License: 2-clause BSD

#include <pthread.h>
#include <stdio.h>
#include "glue.h"
#include "midi.h"
#include "audio.h"
Expand Down

0 comments on commit 60215da

Please sign in to comment.