| 236 | } |
| 237 | |
| 238 | void setcwd(const char *cwd) |
| 239 | { |
| 240 | #if CROWN_PLATFORM_WINDOWS |
| 241 | BOOL ret = SetCurrentDirectory(cwd); |
| 242 | CE_UNUSED(ret); |
| 243 | #else |
| 244 | int ret = chdir(cwd); |
| 245 | CE_UNUSED(ret); |
| 246 | #endif |
| 247 | } |
| 248 | |
| 249 | const char *getenv(const char *name) |
| 250 | { |