| 117 | } |
| 118 | |
| 119 | void init_dynload(void) |
| 120 | { |
| 121 | #ifdef _WIN32 |
| 122 | /* Calling SetDllDirectory with the empty string (but not NULL) removes the |
| 123 | * current working directory from the DLL search path as a security pre-caution. */ |
| 124 | SetDllDirectory(""); |
| 125 | #endif |
| 126 | } |
| 127 | |
| 128 | static void (*program_exit)(int ret); |
| 129 |