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 b950b6c commit 516ac1cCopy full SHA for 516ac1c
cutils.c
@@ -35,6 +35,9 @@
35
#include <windows.h>
36
#include <process.h> // _beginthread
37
#endif
38
+#if defined(__APPLE__)
39
+#include <mach-o/dyld.h>
40
+#endif
41
42
#include "cutils.h"
43
@@ -1205,7 +1208,6 @@ int64_t js__gettimeofday_us(void) {
1205
1208
int js_exepath(char* buffer, size_t* size_ptr) {
1206
1209
int utf8_len, utf16_buffer_len, utf16_len;
1207
1210
WCHAR* utf16_buffer;
- int err;
1211
1212
if (buffer == NULL || size_ptr == NULL || *size_ptr == 0) {
1213
return -1;
0 commit comments