Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Commit 2fe8d58

Browse filesBrowse files
[[ Emscripten ]] Use posix implementation of MCS_getdatetimelocale
This patch fixes a crash fetching system date & time values by using the posix implementation of MCS_getdatetimelocale, which was previously missing from the emscripten engine.
1 parent 46b5a01 commit 2fe8d58
Copy full SHA for 2fe8d58

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎engine/src/sysunxdate.cpp

Copy file name to clipboardExpand all lines: engine/src/sysunxdate.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ bool MCS_secondstodatetime(double p_seconds, MCDateTime& r_datetime)
155155

156156
////////////////////////////////////////////////////////////////////////////////
157157

158-
#if defined(_LINUX_DESKTOP) || defined(_LINUX_SERVER)
158+
#if defined(_LINUX_DESKTOP) || defined(_LINUX_SERVER) || defined(__EMSCRIPTEN__)
159159

160160
#include <locale.h>
161161
#include <langinfo.h>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.