Merge pull request #38 from emoon/revert-37-fix/build-break

Revert "Fixes build break in linux"
This commit is contained in:
Carlos Aragonés 2020-06-03 17:14:24 +02:00 committed by GitHub
commit 3226ac3aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@
#include "MiniFB.h" #include "MiniFB.h"
#include "MiniFB_enums.h" #include "MiniFB_enums.h"
#include "x11/WindowData_X11.h"
#define kCall(func, ...) if(window_data && window_data->func) window_data->func((struct mfb_window *) window_data, __VA_ARGS__); #define kCall(func, ...) if(window_data && window_data->func) window_data->func((struct mfb_window *) window_data, __VA_ARGS__);
#define kUnused(var) (void) var; #define kUnused(var) (void) var;
@ -19,7 +18,7 @@ extern "C" {
#endif #endif
extern short int g_keycodes[512]; extern short int g_keycodes[512];
void init_keycodes(SWindowData_X11 *window_data_x11); void init_keycodes(void);
void keyboard_default(struct mfb_window *window, mfb_key key, mfb_key_mod mod, bool isPressed); void keyboard_default(struct mfb_window *window, mfb_key key, mfb_key_mod mod, bool isPressed);
#if defined(__cplusplus) #if defined(__cplusplus)