diff options
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -2,7 +2,6 @@ #define __MAIN_H__ #include <stdbool.h> -#include <string.h> #include "options.h" #include "libretro.h" @@ -30,18 +29,6 @@ extern void* mmenu; extern char save_template_path[MAX_PATH]; #endif - -#define MAX(a, b) (a) > (b) ? (a) : (b) -#define MIN(a, b) (a) < (b) ? (a) : (b) - -static inline bool has_suffix_i(const char *str, const char *suffix) { - const char *p = strrchr(str, suffix[0]); - if (!p) p = str; - return !strcasecmp(p, suffix); -} - -#define array_size(x) (sizeof(x) / sizeof(x[0])) - #ifdef DEBUG_LOGGING #define PA_DEBUG(...) pa_log(RETRO_LOG_DEBUG, __VA_ARGS__) #else |