mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 22:08:34 +00:00
(Win32) Buildfix
This commit is contained in:
parent
6d4212ca06
commit
418c5cbb76
@ -1008,9 +1008,9 @@ ifeq ($(HAVE_COMPRESSION), 1)
|
||||
DEFINES += -DHAVE_COMPRESSION
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_DIRECTX), 1)
|
||||
DEFINES += -I"$(DXSDK_DIR)/Include"
|
||||
endif
|
||||
#ifeq ($(HAVE_DIRECTX), 1)
|
||||
#$DEFINES += -I"$(DXSDK_DIR)/Include"
|
||||
#endif
|
||||
|
||||
ifeq ($(HAVE_COCOA),1)
|
||||
DEFINES += -DHAVE_MAIN
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
#include <retro_miscellaneous.h>
|
||||
|
||||
#include "../../frontend/frontend_driver.h"
|
||||
#include "../../general.h"
|
||||
#include "../../verbosity.h"
|
||||
#include "win32_common.h"
|
||||
@ -393,6 +394,10 @@ bool win32_suppress_screensaver(void *data, bool enable)
|
||||
{
|
||||
int major, minor;
|
||||
char tmp[PATH_MAX_LENGTH];
|
||||
const frontend_ctx_driver_t *frontend = frontend_get_ptr();
|
||||
|
||||
if (!frontend)
|
||||
return false;
|
||||
|
||||
frontend->get_os(tmp, sizeof(tmp), &major, &minor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user