Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vincent Wei
mg-tools
Commits
a158c34f
Commit
a158c34f
authored
Apr 15, 2019
by
Vincent Wei
Browse files
define UChar32/UChar16 for MiniGUI version < 4.0.0
parent
9e3fae32
Changes
3
Hide whitespace changes
Inline
Side-by-side
qpfeditor/qpfeditor.c
View file @
a158c34f
...
...
@@ -25,6 +25,11 @@
#include "qpf.h"
#if (_MINIGUI_VERSION_CODE < _VERSION_CODE(4,0,0))
# define Uchar32 UChar32
# define Uchar16 UChar16
#endif
#define IDC_FILE_OPEN 110
#define IDC_FILE_SAVE 120
#define IDC_FILE_RENAME 130
...
...
upfeditor/Makefile.am
View file @
a158c34f
...
...
@@ -4,8 +4,4 @@ upfeditor_SOURCES=upfeditor.c readupf.c dumpupf.c upf.h glyph.c upftree.c my_deb
upftest_SOURCES
=
test.c readupf.c dumpupf.c upf.h glyph.c upftree.c
upfeditor_LDADD
=
@MINIGUI_LIBS@
-lmgutils
<<<<<<<
HEAD
upftest_LDADD
=
@MINIGUI_LIBS@
-lmgutils
=======
upftest_LDADD
=
@MINIGUI_LIBS@
>>>>>>>
0a582a17416e7b09d214e562141c866fa0d7dd8e
upfeditor/upf.h
View file @
a158c34f
...
...
@@ -11,6 +11,11 @@
#ifndef __UPF_H_
#define __UPF_H_
#if (_MINIGUI_VERSION_CODE < _VERSION_CODE(4,0,0))
# define Uchar32 UChar32
# define Uchar16 UChar16
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment