File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ elseif(ANDROID)
38
38
endif ()
39
39
find_host_package (Boost 1.55 EXACT REQUIRED COMPONENTS random system thread locale filesystem chrono atomic )
40
40
41
- # find_package(Threads REQUIRED)
42
41
set (OPENSSL_FOUND 1 )
43
42
if (ARM )
44
43
set (OPENSSL_INCLUDE_DIR "${CMAKE_BINARY_DIR} /../openssl/armeabi-v7a/include" )
@@ -59,15 +58,15 @@ elseif(ANDROID)
59
58
else ()
60
59
set (LIBCXX_STL "${ANDROID_NDK} /sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/thumb/libgnustl_static.a" )
61
60
endif ()
61
+ # These are used in the shared library case
62
62
set (ANDROID_STL_FLAGS
63
- # pthread
64
63
${LIBCXX_STL}
65
- # atomic
64
+ atomic
66
65
dl
67
66
gcc
68
67
c
69
68
m
70
- # -nodefaultlibs
69
+ -nodefaultlibs
71
70
)
72
71
73
72
option (BUILD_SHARED_LIBS "Build shared Libraries." OFF )
Original file line number Diff line number Diff line change @@ -664,9 +664,9 @@ namespace details {
664
664
return (pos_type)_seekrdpos_fsb (m_info, size_t (m_info->m_rdpos +offset), sizeof (_CharType));
665
665
case std::ios_base::end:
666
666
return (pos_type)_seekrdtoend_fsb (m_info, int64_t (offset), sizeof (_CharType));
667
- default :
668
- // Fail on invalid input (_S_ios_seekdir_end)
669
- assert (false );
667
+ default :
668
+ // Fail on invalid input (_S_ios_seekdir_end)
669
+ assert (false );
670
670
}
671
671
}
672
672
else if ( (m_info->m_mode & std::ios::ios_base::app) == 0 )
@@ -679,9 +679,9 @@ namespace details {
679
679
return (pos_type)_seekwrpos_fsb (m_info, size_t (m_info->m_wrpos +offset), sizeof (_CharType));
680
680
case std::ios_base::end:
681
681
return (pos_type)_seekwrpos_fsb (m_info, size_t (-1 ), sizeof (_CharType));
682
- default :
683
- // Fail on invalid input (_S_ios_seekdir_end)
684
- assert (false );
682
+ default :
683
+ // Fail on invalid input (_S_ios_seekdir_end)
684
+ assert (false );
685
685
}
686
686
}
687
687
return (pos_type)traits::eof ();
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ JNIEnv* get_jvm_env()
37
37
auto result = JVM.load ()->AttachCurrentThread (&env, nullptr );
38
38
if (result != JNI_OK)
39
39
{
40
- throw std::runtime_error (" Could not attach to JVM" );
40
+ throw std::runtime_error (" Could not attach to JVM" );
41
41
}
42
42
43
43
return env;
You can’t perform that action at this time.
0 commit comments