mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(XDK) Build fixes
This commit is contained in:
parent
893f6c6814
commit
d6fc75240e
@ -27,10 +27,12 @@
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern char *strcasestr(const char *haystack, const char *needle);
|
||||||
|
|
||||||
// Avoid possible naming collisions during link since we prefer to use the actual name.
|
// Avoid possible naming collisions during link since we prefer to use the actual name.
|
||||||
#define strcasestr(haystack, needle) strcasestr_rarch__(haystack, needle)
|
#define strcasestr(haystack, needle) strcasestr_rarch__(haystack, needle)
|
||||||
|
|
||||||
char *strcasestr(const char *haystack, const char *needle);
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -80,14 +80,13 @@ static inline void RARCH_WARN(const char *msg, ...)
|
|||||||
|
|
||||||
static inline void RARCH_ERR_V(const char *tag, const char *fmt, ...)
|
static inline void RARCH_ERR_V(const char *tag, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
char msg_new[1024], buffer[1024];
|
char msg_new[1024];
|
||||||
#ifdef IS_SALAMANDER
|
#ifdef IS_SALAMANDER
|
||||||
snprintf(msg_new, sizeof(msg_new), "RetroArch Salamander [ERR] :: %s%s", tag ? tag : "", fmt);
|
snprintf(msg_new, sizeof(msg_new), "RetroArch Salamander [ERR] :: %s%s", tag ? tag : "", fmt);
|
||||||
#else
|
#else
|
||||||
snprintf(msg_new, sizeof(msg_new), "RetroArch [ERR] :: %s%s", tag ? tag : "", fmt);
|
snprintf(msg_new, sizeof(msg_new), "RetroArch [ERR] :: %s%s", tag ? tag : "", fmt);
|
||||||
#endif
|
#endif
|
||||||
wvsprintf(buffer, msg_new, ap);
|
OutputDebugStringA(fmt);
|
||||||
OutputDebugStringA(buffer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void RARCH_ERR(const char *msg, ...)
|
static inline void RARCH_ERR(const char *msg, ...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user