Skip to content

Commit

Permalink
Fixed RPI build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-jonsson committed Nov 11, 2024
1 parent 5aa436e commit 5f7acc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion front/rpi/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <circle/types.h>
#include <SDCard/emmc.h>

#define __STDC_VERSION__ 201112L // Why do I need this?
#define _Static_assert static_assert
#define bool bool

Expand Down
4 changes: 2 additions & 2 deletions lib/vxt/include/vxt/vxt.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ extern "C" {
typedef unsigned int vxt_dword;
typedef unsigned int vxt_pointer;
#else
#ifndef __STDC_HOSTED__
#if !defined(__cplusplus) && !defined(__STDC_HOSTED__)
#error "Use VXT_NO_LIBC for builds without hosted environment."
#endif

Expand All @@ -117,7 +117,7 @@ extern "C" {
typedef uint32_t vxt_pointer;
#endif

#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L
#if !defined(__cplusplus) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L)
#error "libvxt require C11 support!"
#endif

Expand Down

0 comments on commit 5f7acc2

Please sign in to comment.