mirror of
https://github.com/pmret/papermario.git
synced 2025-12-19 17:58:12 -05:00
Fix cpp complications on Arch Linux (#1251)
This commit is contained in:
@@ -538,7 +538,7 @@ typedef s32 Difficulty2D[AC_DIFFICULTY_LEN][2];
|
||||
|
||||
#define DMA_COPY_SEGMENT(segment) dma_copy(segment##_ROM_START, segment##_ROM_END, segment##_VRAM)
|
||||
|
||||
#if __STDC_VERSION__ < 202311L
|
||||
#if defined(OLD_GCC) || __STDC_VERSION__ < 202311L
|
||||
typedef enum {
|
||||
false,
|
||||
true
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#include "ultra64.h"
|
||||
|
||||
#if (defined(__cplusplus) && __cplusplus >= 201103L)
|
||||
#if !defined(OLD_GCC) && (defined(__cplusplus) && __cplusplus >= 201103L)
|
||||
/* C++11 or later */
|
||||
#include <cstddef>
|
||||
#elif (defined(__STDC__) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 202000L))
|
||||
#elif !defined(OLD_GCC) && (defined(__STDC__) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 202000L))
|
||||
/* C23 or later */
|
||||
#include <stddef.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user