mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
14 lines
553 B
Diff
14 lines
553 B
Diff
diff --git a/testing/cffi1/test_recompiler.py b/testing/cffi1/test_recompiler.py
|
|
index a3277b0..0d6e2c3 100644
|
|
--- a/testing/cffi1/test_recompiler.py
|
|
+++ b/testing/cffi1/test_recompiler.py
|
|
@@ -2270,7 +2270,7 @@ def test_char16_char32_type(no_cpp=False):
|
|
char32_t foo_4bytes(char32_t);
|
|
""")
|
|
lib = verify(ffi, "test_char16_char32_type" + no_cpp * "_nocpp", """
|
|
- #if !defined(__cplusplus) || __cplusplus < 201103L
|
|
+ #if !defined(__cplusplus)
|
|
typedef uint_least16_t char16_t;
|
|
typedef uint_least32_t char32_t;
|
|
#endif
|