Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
ndk
Commits
d5f9c8d8
Commit
d5f9c8d8
authored
11 years ago
by
Andrew Hsieh
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix wchar_t-size for le32."
parents
54f01d45
b67a0e76
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
tests/build/wchar_t-size/jni/test_8bit.c
tests/build/wchar_t-size/jni/test_8bit.c
+1
-1
tests/build/wchar_t-size/jni/test_8bit_cplusplus.cpp
tests/build/wchar_t-size/jni/test_8bit_cplusplus.cpp
+1
-1
tests/build/wchar_t-size/jni/test_8bit_cplusplus_stdc_limit_macros.cpp
...char_t-size/jni/test_8bit_cplusplus_stdc_limit_macros.cpp
+1
-1
No files found.
tests/build/wchar_t-size/jni/test_8bit.c
View file @
d5f9c8d8
...
...
@@ -17,7 +17,7 @@
#define STATIC_ASSERT(condition) \
static char CONCAT(dummy_,__LINE__)[1 - 2*(!(condition))];
#ifdef
__arm__
#if
def
ined(
__arm__
) || __ANDROID_API__ < 9
STATIC_ASSERT
(
sizeof
(
__WCHAR_TYPE__
)
==
1
);
STATIC_ASSERT
(
sizeof
(
wchar_t
)
==
1
);
#else
...
...
This diff is collapsed.
Click to expand it.
tests/build/wchar_t-size/jni/test_8bit_cplusplus.cpp
View file @
d5f9c8d8
...
...
@@ -17,7 +17,7 @@
#define STATIC_ASSERT(condition) \
static char CONCAT(dummy_,__LINE__)[1 - 2*(!(condition))];
#ifdef
__arm__
#if
def
ined(
__arm__
) || __ANDROID_API__ < 9
STATIC_ASSERT
(
sizeof
(
__WCHAR_TYPE__
)
==
1
);
#else
STATIC_ASSERT
(
sizeof
(
__WCHAR_TYPE__
)
==
4
);
...
...
This diff is collapsed.
Click to expand it.
tests/build/wchar_t-size/jni/test_8bit_cplusplus_stdc_limit_macros.cpp
View file @
d5f9c8d8
...
...
@@ -19,7 +19,7 @@
#define STATIC_ASSERT(condition) \
static char CONCAT(dummy_,__LINE__)[1 - 2*(!(condition))];
#ifdef
__arm__
#if
def
ined(
__arm__
) || __ANDROID_API__ < 9
STATIC_ASSERT
(
sizeof
(
__WCHAR_TYPE__
)
==
1
);
#else
STATIC_ASSERT
(
sizeof
(
__WCHAR_TYPE__
)
==
4
);
...
...
This diff is collapsed.
Click to expand it.
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