Fix some more linux vs win compatability

pull/337/head^2
FlightlessMango 4 years ago
parent 21e8d8c402
commit ed466d3c9d

@ -2,8 +2,10 @@
#ifndef MANGOHUD_KEYBINDS_H #ifndef MANGOHUD_KEYBINDS_H
#define MANGOHUD_KEYBINDS_H #define MANGOHUD_KEYBINDS_H
#ifdef HAVE_X11
#include "shared_x11.h" #include "shared_x11.h"
#include "loaders/loader_x11.h" #include "loaders/loader_x11.h"
#endif
#ifndef KeySym #ifndef KeySym
typedef unsigned long KeySym; typedef unsigned long KeySym;

@ -29,7 +29,10 @@ endforeach
vklayer_files = files( vklayer_files = files(
'overlay.cpp', 'overlay.cpp',
'font.cpp', 'font.cpp',
'keybinds.cpp' 'keybinds.cpp',
'font_unispace.c',
'logging.cpp',
'config.cpp',
) )
opengl_files = [] opengl_files = []
if ['windows', 'mingw'].contains(host_machine.system()) if ['windows', 'mingw'].contains(host_machine.system())
@ -46,19 +49,16 @@ if is_unixy
vklayer_files += files( vklayer_files += files(
'vulkan.cpp', 'vulkan.cpp',
'overlay_params.cpp', 'overlay_params.cpp',
'font_unispace.c',
'blacklist.cpp', 'blacklist.cpp',
'cpu.cpp', 'cpu.cpp',
'file_utils.cpp', 'file_utils.cpp',
'memory.cpp', 'memory.cpp',
'config.cpp',
'iostats.cpp', 'iostats.cpp',
'gpu.cpp', 'gpu.cpp',
'notify.cpp', 'notify.cpp',
'elfhacks.cpp', 'elfhacks.cpp',
'real_dlsym.cpp', 'real_dlsym.cpp',
'pci_ids.cpp', 'pci_ids.cpp',
'logging.cpp',
) )
opengl_files = files( opengl_files = files(

Loading…
Cancel
Save