projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4a5a69
)
Move HB_NO_SETLOCALE to closer place to its to unbreak HB_TINY build (#1768)
author
Ebrahim Byagowi
<ebrahim@gnu.org>
Mon, 10 Jun 2019 21:03:30 +0000
(
01:33
+0430)
committer
GitHub
<noreply@github.com>
Mon, 10 Jun 2019 21:03:30 +0000
(
01:33
+0430)
src/hb-common.cc
patch
|
blob
|
history
src/hb.hh
patch
|
blob
|
history
diff --git
a/src/hb-common.cc
b/src/hb-common.cc
index
71791db
..
fb6377e
100644
(file)
--- a/
src/hb-common.cc
+++ b/
src/hb-common.cc
@@
-35,6
+35,9
@@
#include <xlocale.h>
#endif
+#ifdef HB_NO_SETLOCALE
+#define setlocale(Category, Locale) "C"
+#endif
/**
* SECTION:hb-common
diff --git
a/src/hb.hh
b/src/hb.hh
index
bf54770
..
a2baa31
100644
(file)
--- a/
src/hb.hh
+++ b/
src/hb.hh
@@
-372,10
+372,6
@@
static int errno = 0; /* Use something better? */
# endif
#endif
-#ifdef HB_NO_SETLOCALE
-#define setlocale(Category, Locale) "C"
-#endif
-
#ifdef HB_NO_GETENV
#define getenv(Name) nullptr
#endif