chiark / gitweb /
libgpg-error: workaround no stdout atexit with constructor prior to N (#1017)
[termux-packages] / packages / libandroid-support / iconv.h.patch
1 diff -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/iconv.h ./include/iconv.h
2 --- /home/fornwall/lib/android-ndk/sources/android/support/include/iconv.h      2016-03-03 16:54:04.000000000 -0500
3 +++ ./include/iconv.h   2016-05-25 16:15:29.543192668 -0400
4 @@ -28,8 +28,6 @@
5  #ifndef NDK_ANDROID_SUPPORT_ICONV_H
6  #define NDK_ANDROID_SUPPORT_ICONV_H
7  
8 -#if !defined(__LP64__)
9 -
10  #ifdef __cplusplus
11  extern "C" {
12  #endif
13 @@ -43,9 +41,7 @@
14  int     iconv_close(iconv_t);
15  
16  #ifdef __cplusplus
17 -}  // extern "C"
18 +}
19  #endif
20  
21 -#endif // !__LP64__
22 -
23 -#endif  // NDK_ANDROID_SUPPORT_ICONV_H
24 +#endif