Skip to content

Commit

Permalink
Fix a compilation error in the CI due to undefined function asprintf.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arignir committed Oct 8, 2024
1 parent 180e1cb commit c18093a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions include/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#pragma once

#define _GNU_SOURCE

#include <stdio.h>
#include <string.h>
#include "hades.h"
Expand Down
2 changes: 2 additions & 0 deletions source/app/bindings.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
**
\******************************************************************************/

#define _GNU_SOURCE

#include <SDL2/SDL.h>
#include <cimgui.h>
#include <cimgui_impl.h>
Expand Down
3 changes: 0 additions & 3 deletions source/gba/memory/storage/storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
** - https://densinh.github.io/DenSinH/emulation/2021/02/01/gba-eeprom.html
*/

#define _GNU_SOURCE
#include <string.h>
#include <errno.h>
#include "gba/gba.h"

uint8_t
Expand Down

0 comments on commit c18093a

Please sign in to comment.