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