mirror of
https://github.com/libretro/PUAE.git
synced 2024-11-27 01:50:51 +00:00
puae 2.5.1b4
This commit is contained in:
parent
b62c17db32
commit
83d48916cf
18
src/gfx-sdl/sdlkeys_dik.h
Normal file
18
src/gfx-sdl/sdlkeys_dik.h
Normal file
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#ifndef GFX_SDL_SDLKEYS_DIK_H_INCLUDED
|
||||
#define GFX_SDL_SDLKEYS_DIK_H_INCLUDED 1
|
||||
|
||||
static int kc_dik_decode (int key);
|
||||
extern int sdlk2dik (int key);
|
||||
static int decode_dik_fr (int key);
|
||||
static int decode_dik_us (int key);
|
||||
static int decode_dik_de (int key);
|
||||
static int decode_dik_dk (int key);
|
||||
static int decode_dik_se (int key);
|
||||
static int decode_dik_it (int key);
|
||||
static int decode_dik_es (int key);
|
||||
static int decode_dik_fi (int key);
|
||||
static int decode_dik_tr (int key);
|
||||
|
||||
|
||||
#endif // GFX_SDL_SDLKEYS_DIK_H_INCLUDED
|
11
src/gui-sdl/Makefile.am
Normal file
11
src/gui-sdl/Makefile.am
Normal file
@ -0,0 +1,11 @@
|
||||
AM_CPPFLAGS = @UAE_CPPFLAGS@
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/include -I$(top_builddir)/src -I$(top_srcdir)/src
|
||||
AM_CFLAGS = @UAE_CFLAGS@
|
||||
AM_CFLAGS += @SDL_CFLAGS@
|
||||
|
||||
noinst_LIBRARIES = libguidep.a
|
||||
|
||||
libguidep_a_SOURCES = inputmode.c menu.c menu_load.c menu_prefs.c \
|
||||
menu_tweak.c vkbd.cpp volumecontrol.c
|
||||
|
||||
noinst_HEADERS = inputmode.h menu.h vkbd.h volumecontrol.h
|
28
src/include/gcc_warnings.h
Normal file
28
src/include/gcc_warnings.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef SRC_INCLUDE_GCC_WARNINGS_H_INCLUDED
|
||||
#define SRC_INCLUDE_GCC_WARNINGS_H_INCLUDED 1
|
||||
|
||||
/* The following pragma chain can be used to temporarily silence gcc warnings.
|
||||
* It has been written by Jonathan Wakely and modified by Patrick Horgan.
|
||||
* See http://dbp-consulting.com/tutorials/SuppressingGCCWarnings.html for
|
||||
* further information on this.
|
||||
*/
|
||||
#if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 402
|
||||
#define GCC_DIAG_STR(s) #s
|
||||
#define GCC_DIAG_JOINSTR(x,y) GCC_DIAG_STR(x ## y)
|
||||
# define GCC_DIAG_DO_PRAGMA(x) _Pragma (#x)
|
||||
# define GCC_DIAG_PRAGMA(x) GCC_DIAG_DO_PRAGMA(GCC diagnostic x)
|
||||
# if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406
|
||||
# define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \
|
||||
GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x))
|
||||
# define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop)
|
||||
# else
|
||||
# define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored GCC_DIAG_JOINSTR(-W,x))
|
||||
# define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(warning GCC_DIAG_JOINSTR(-W,x))
|
||||
# endif
|
||||
#else
|
||||
# define GCC_DIAG_OFF(x)
|
||||
# define GCC_DIAG_ON(x)
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* SRC_INCLUDE_GCC_WARNINGS_H_INCLUDED */
|
Loading…
Reference in New Issue
Block a user