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 e777cb8

Browse filesBrowse files
Merge pull request livecode#7389 from livecodeian/bugfix-22802
[[ Bug 22802 ]] Fix crash in HTML5 standalones when fetching the system date or system time
2 parents 683beca + f610335 commit e777cb8
Copy full SHA for e777cb8

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+2
-1
lines changed

‎docs/notes/bugfix-22802.md

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Fix crash in HTML5 standalones when fetching the system date or system time

‎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.