We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afdae81 commit 573d891Copy full SHA for 573d891
1 file changed
libs/openFrameworks/utils/ofFileUtils.cpp
@@ -5,8 +5,16 @@
5
#ifndef TARGET_WIN32
6
#include <pwd.h>
7
#include <sys/stat.h>
8
+ #include <unistd.h>
9
+#endif
10
+#ifdef EMSCRIPTEN
11
+uid_t geteuid() {
12
+ return 0;
13
+}
14
+gid_t getegid() {
15
+ return 0
16
17
#endif
-
18
#ifdef TARGET_OSX
19
#include <mach-o/dyld.h> /* _NSGetExecutablePath */
20
#include <limits.h> /* PATH_MAX */
0 commit comments