mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
defining G_OS_UNIX isn't worth the hassle
This commit is contained in:
parent
c3995b7c96
commit
384a2770ae
@ -9,10 +9,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(WIN32) || defined(_WIN32) || defined(_MSC_VER)
|
||||||
#define G_OS_WIN32 1
|
#define G_OS_WIN32 1
|
||||||
#else
|
|
||||||
#define G_OS_UNIX 1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define G_LITTLE_ENDIAN 0
|
#define G_LITTLE_ENDIAN 0
|
||||||
@ -117,7 +115,6 @@ gchar* g_string_free(GString* string, gboolean free_segment);
|
|||||||
void g_string_append_printf(GString* gstr, const gchar* format, ...);
|
void g_string_append_printf(GString* gstr, const gchar* format, ...);
|
||||||
gchar* g_strstr_len(const gchar* haystack, int len, const gchar* needle);
|
gchar* g_strstr_len(const gchar* haystack, int len, const gchar* needle);
|
||||||
gchar* g_strdup(const gchar* str);
|
gchar* g_strdup(const gchar* str);
|
||||||
#define g_strlcpy(dst, src, size) strlcpy(dst, src, size)
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define g_ascii_strcasecmp(a, b) stricmp(a, b)
|
#define g_ascii_strcasecmp(a, b) stricmp(a, b)
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user