Merge branch 'master' of github.com:FreeRDP/FreeRDP
This commit is contained in:
commit
62e686f62a
@ -24,6 +24,7 @@
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <sys/time.h>
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
@ -848,7 +849,7 @@ int VirtualChannelEntry(PCHANNEL_ENTRY_POINTS pEntryPoints)
|
||||
_p->plugin.event_callback = rdpsnd_process_event;
|
||||
_p->plugin.terminate_callback = rdpsnd_process_terminate;
|
||||
|
||||
#ifndef _WIN32
|
||||
#if !defined(_WIN32) && !defined(ANDROID)
|
||||
{
|
||||
sigset_t mask;
|
||||
sigemptyset(&mask);
|
||||
|
@ -340,7 +340,11 @@ static int fastpath_recv_update_data(rdpFastPath* fastpath, STREAM* s)
|
||||
|
||||
stream_check_size(fastpath->updateData, size);
|
||||
stream_copy(fastpath->updateData, comp_stream, size);
|
||||
/* TODO: add a limit on the fragmentation buffer size */
|
||||
if (stream_get_size(fastpath->updateData) > rdp->settings->MultifragMaxRequestSize)
|
||||
{
|
||||
printf("fastpath PDU is bigger than MultifragMaxRequestSize\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (fragmentation == FASTPATH_FRAGMENT_LAST)
|
||||
{
|
||||
|
@ -43,6 +43,7 @@ SSE3_SCD_PRE_ROUTINE(sse3_orC_32u, UINT32, general_orC_32u,
|
||||
# endif /* !defined(WITH_IPP) || defined(ALL_PRIMITIVES_VERSIONS) */
|
||||
#endif
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
void primitives_init_andor_opt(const primitives_hints_t *hints, primitives_t *prims)
|
||||
{
|
||||
|
@ -39,6 +39,13 @@ set(PRIMITIVE_TEST_CFILES
|
||||
../prim_set.c
|
||||
../prim_shift.c
|
||||
../prim_sign.c
|
||||
../prim_add_opt.c
|
||||
../prim_alphaComp_opt.c
|
||||
../prim_andor_opt.c
|
||||
../prim_colors_opt.c
|
||||
../prim_set_opt.c
|
||||
../prim_shift_opt.c
|
||||
../prim_sign_opt.c
|
||||
../primitives.c
|
||||
)
|
||||
|
||||
@ -85,7 +92,7 @@ if(WITH_SSE2)
|
||||
endif()
|
||||
elseif(WITH_NEON)
|
||||
if(CMAKE_COMPILER_IS_GNUCC)
|
||||
set(OPTIMZATION "${OPTFLAGS} -mfpu=neon -mfloat-abi=${ARM_FP_ABI} -O2")
|
||||
set(OPTFLAGS "${OPTFLAGS} -mfpu=neon -mfloat-abi=${ARM_FP_ABI} -O2")
|
||||
endif()
|
||||
# TODO: Add MSVC equivalent
|
||||
endif()
|
||||
|
@ -31,7 +31,7 @@ add_complex_library(MODULE ${MODULE_NAME} TYPE "OBJECT"
|
||||
|
||||
set_target_properties(${MODULE_NAME} PROPERTIES VERSION ${WINPR_VERSION_FULL} SOVERSION ${WINPR_VERSION} PREFIX "lib")
|
||||
|
||||
if((NOT WIN32) AND (NOT APPLE))
|
||||
if((NOT WIN32) AND (NOT APPLE) AND (NOT ANDROID))
|
||||
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} rt)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user