mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #22783 from eska014/html5-warnings
Fix warnings in HTML5 build outside platform files
This commit is contained in:
commit
86d384e953
@ -46,7 +46,7 @@ class Math {
|
||||
public:
|
||||
Math() {} // useless to instance
|
||||
|
||||
static const uint64_t RANDOM_MAX = 4294967295;
|
||||
static const uint64_t RANDOM_MAX = 0xFFFFFFFF;
|
||||
|
||||
static _ALWAYS_INLINE_ double sin(double p_x) { return ::sin(p_x); }
|
||||
static _ALWAYS_INLINE_ float sin(float p_x) { return ::sinf(p_x); }
|
||||
|
@ -42,12 +42,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#ifndef NO_FCNTL
|
||||
#ifdef __HAIKU__
|
||||
#include <fcntl.h>
|
||||
#else
|
||||
#include <sys/fcntl.h>
|
||||
#endif
|
||||
#else
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
|
Loading…
Reference in New Issue
Block a user