summaryrefslogtreecommitdiff
path: root/include/sal/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sal/config.h')
-rw-r--r--include/sal/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sal/config.h b/include/sal/config.h
index 74d482fc7631..bf5958519426 100644
--- a/include/sal/config.h
+++ b/include/sal/config.h
@@ -83,6 +83,17 @@
#define SAL_CONFIGFILE(name) name "rc"
#endif
+#ifdef EMSCRIPTEN
+#define SAL_UNX
+#define SAL_DLLEXTENSION ".bc"
+#define SAL_EXEEXTENSION ""
+#define SAL_DLLPREFIX "lib"
+#define SAL_PATHSEPARATOR ':'
+#define SAL_PATHDELIMITER '/'
+#define SAL_NEWLINE_STRING "\n"
+#define SAL_CONFIGFILE(name) name "rc"
+#endif
+
/* The following spell is for Solaris and its descendants.
* See the "Solaris" section of
* <http://sourceforge.net/p/predef/wiki/OperatingSystems/>, and