• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionaadbd4836cc023cec4c7e6815daacddfe917cf0f (tree)
Time2020-03-17 00:39:22
Authorshimitei <shimitei@gmai...>
Commitershimitei

Log Message

add ifdef emscripten

Change Summary

Incremental Difference

--- a/src/h-config.h
+++ b/src/h-config.h
@@ -152,6 +152,7 @@
152152 * or for the "Atari" platform which is Unix-like, apparently
153153 */
154154 #if !defined(MACINTOSH) && !defined(WINDOWS) && \
155+ !defined(__EMSCRIPTEN__) && \
155156 !defined(ACORN) && !defined(VM)
156157 # define SET_UID
157158 #endif
--- a/src/save.c
+++ b/src/save.c
@@ -1727,7 +1727,7 @@ bool load_player(void)
17271727 if (!savefile[0]) return (TRUE);
17281728
17291729
1730-#if !defined(MACINTOSH) && !defined(WINDOWS)
1730+#if !defined(MACINTOSH) && !defined(WINDOWS) && !defined(__EMSCRIPTEN__)
17311731
17321732 /* Fix this */
17331733