Commit Graph

9 Commits

Author SHA1 Message Date
r-a-sattarov@github.com
552078cb66 E2K: strip UTF-8 BOM for MCST lcc compiler < 1.24
strip UTF-8 BOM for compability with MCST lcc compiler < 1.24
2020-02-02 07:45:54 +08:00
Romain Tartière
d2965bcbfe Fix build using FreeBSD clang version 6.0.1 (#2459)
[ 19%] Building CXX object Source/ThirdParty/SLikeNet/CMakeFiles/SLikeNet.dir/Source/src/BitStream.cpp.o
In file included from /home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/src/BitStream.cpp:48:
/home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/include/slikenet/linux_adapter.h:17:10: fatal error: 'winsock2.h' file not found
#include "winsock2.h"
         ^~~~~~~~~~~~
1 error generated.
2019-08-09 12:06:35 +03:00
Romain Tartière
7b29755695 Fix build with FreeBSD clang version 6.0.1 (#2460)
[ 19%] Building CXX object Source/ThirdParty/SLikeNet/CMakeFiles/SLikeNet.dir/Source/src/RakString.cpp.o
/home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/src/RakString.cpp:1392:17: error: no matching function for call to 'vsnprintf_s'
        int numChars = vsnprintf_s(stackBuff, 511, str, ap);
                       ^~~~~~~~~~~
/home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/include/slikenet/linux_adapter.h:42:5: note: candidate function not viable: requires 5 arguments, but 4 were provided
int vsnprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr);
2019-07-17 07:57:29 +03:00
Arnis Lielturks
81cb0711ae
Slikenet build updates (#2443)
* SlikeNet build updates to check available functions

* additional function checks

* CMake check fixed

* cmake macro updates

* slikenet cmake config updated

* vsnprintf_s function template fix

* cmake checks updated

* osx_adapter cleanup

* osx fixes

* cmake check updates

* windows cmake possible fix

* multiple cmake check attempt for inet_* functions
2019-05-22 07:26:52 +03:00
sssooonnnggg
c23f371fa5 Fix SLikeNet crash on android device. (#2424) 2019-03-08 09:49:33 +02:00
Yao Wei Tjong 姚伟忠
34f4ea1c77
Fix Android build using Gradle. 2018-08-11 22:28:02 +08:00
Yao Wei Tjong 姚伟忠
86064cb3dc Merge commit '7d9d1eba4c3e92c0f8ce93c7768e376f2ad252a0' as 'Source/ThirdParty/SLikeNet' 2018-08-11 20:35:55 +08:00
Yao Wei Tjong 姚伟忠
77bb990ec5
Replace Source/ThirdParty/SLikeNet subdirectory with subtree. 2018-08-11 20:35:38 +08:00
Arnis Lielturks
e363036036
kNet replaced with SLikeNet (RakNet fork). 2018-08-11 20:35:09 +08:00