tune constant macros

This commit is contained in:
Vincent Wei
2020-03-21 21:59:12 +08:00
parent 5a6705d8bc
commit 699a68a9ac
3 changed files with 10 additions and 4 deletions
+1 -2
View File
@@ -133,8 +133,7 @@
#include "linux-libinput.h"
#endif
#define LEN_ENGINE_NAME 16
#define LEN_MTYPE_NAME 16
#define LEN_MTYPE_NAME 23
static INPUT inputs [] =
{
+8
View File
@@ -57,6 +57,14 @@
#include "gdi.h"
#define LEN_SO_NAME 127 // name length of a shared object (library)
#define LEN_DEVICE_NAME 127
#define LEN_EXDRIVER_NAME LEN_SO_NAME
#define LEN_ENGINE_NAME 23
#define LEN_VIDEO_MODE 31
#define LEN_MTYPE_NAME 23
#define LEN_FOURCC_FORMAT 7
#define DISABLE_THREADS
#define GAL_mutex int
+1 -2
View File
@@ -64,8 +64,7 @@
GAL_Surface* __gal_screen;
#define LEN_ENGINE_NAME 10
#define LEN_MODE 20
#define LEN_MODE LEN_VIDEO_MODE
BOOL GAL_ParseVideoMode (const char* mode, int* w, int* h, int* depth)
{