Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
f60271c0
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
接近 2 年 前同步成功
通知
1
Star
18
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Harfbuzz
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f60271c0
编写于
8月 02, 2011
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add mingw32 support
With these changes, on Ubuntu I can do: ./configure --host=i586-mingw32msvc && make
上级
1264b23e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
14 addition
and
3 deletion
+14
-3
configure.ac
configure.ac
+1
-0
src/hb-mutex-private.hh
src/hb-mutex-private.hh
+2
-2
src/hb-open-type-private.hh
src/hb-open-type-private.hh
+5
-0
src/hb-private.hh
src/hb-private.hh
+5
-1
src/main.cc
src/main.cc
+1
-0
未找到文件。
configure.ac
浏览文件 @
f60271c0
...
...
@@ -104,6 +104,7 @@ dnl ==========================================================================
PKG_CHECK_MODULES(ICU, icu, have_icu=true, [
AC_CHECK_PROG([have_icu], [icu-config], [true], [false])
have_icu=false
if $have_icu; then
icu_cflags=`icu-config --cppflags`
icu_libs=`icu-config --ldflags-libsonly`
...
...
src/hb-mutex-private.hh
浏览文件 @
f60271c0
...
...
@@ -53,9 +53,9 @@ typedef GStaticMutex hb_mutex_impl_t;
#define hb_mutex_impl_free(M) g_static_mutex_free (M)
#elif defined(_MSC_VER)
#elif defined(_MSC_VER)
|| defined(__MINGW32__)
#include <
W
indows.h>
#include <
w
indows.h>
typedef
CRITICAL_SECTION
hb_mutex_impl_t
;
#define HB_MUTEX_IMPL_INIT { NULL, 0, 0, NULL, NULL, 0 }
...
...
src/hb-open-type-private.hh
浏览文件 @
f60271c0
...
...
@@ -384,6 +384,11 @@ struct IntType
DEFINE_SIZE_STATIC
(
sizeof
(
Type
));
};
/* Typedef these to avoid clash with windows.h */
#define USHORT HB_USHORT
#define SHORT HB_SHORT
#define ULONG HB_ULONG
#define LONG HB_LONG
typedef
IntType
<
uint16_t
>
USHORT
;
/* 16-bit unsigned integer. */
typedef
IntType
<
int16_t
>
SHORT
;
/* 16-bit signed integer. */
typedef
IntType
<
uint32_t
>
ULONG
;
/* 32-bit unsigned integer. */
...
...
src/hb-private.hh
浏览文件 @
f60271c0
...
...
@@ -139,7 +139,11 @@ ASSERT_STATIC (sizeof (hb_var_int_t) == 4);
#endif
#ifndef HB_INTERNAL
# define HB_INTERNAL __attribute__((__visibility__("hidden")))
# ifndef __MINGW32__
# define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else
# define HB_INTERNAL
# endif
#endif
...
...
src/main.cc
浏览文件 @
f60271c0
...
...
@@ -25,6 +25,7 @@
*/
#define HB_OT_LAYOUT_CC
#include "hb-mutex-private.hh"
#include "hb-open-file-private.hh"
#include "hb-ot-layout-gdef-private.hh"
#include "hb-ot-layout-gsubgpos-private.hh"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录