MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

use _putenv_s for windows

+6
+6
include/compat.h
··· 114 114 return path; 115 115 } 116 116 117 + static inline int compat_setenv(const char *name, const char *value, int overwrite) { 118 + if (!overwrite && getenv(name) != NULL) return 0; 119 + return _putenv_s(name, value); 120 + } 121 + 117 122 #define realpath compat_realpath 118 123 #define timegm compat_timegm 119 124 #define usleep compat_usleep ··· 122 127 #define memmem compat_memmem 123 128 #define basename compat_basename 124 129 #define dirname compat_dirname 130 + #define setenv compat_setenv 125 131 126 132 typedef unsigned int useconds_t; 127 133 typedef unsigned int uid_t;