1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 10:23:13 +02:00

Fixed Windows runtime problems

This commit is contained in:
Adam
2011-08-11 23:10:08 -04:00
parent c2780e1de4
commit d44a1d0867
5 changed files with 39 additions and 25 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
# define dlsym(file, symbol) (HMODULE)GetProcAddress(file, symbol)
# define dlclose(file) FreeLibrary(file) ? 0 : 1
# define ano_modclearerr() SetLastError(0)
# define ano_moderr() Anope::LastError().c_str()
# define ano_moderr() (Anope::LastError().empty() ? NULL : Anope::LastError().c_str())
#else
typedef void * ano_module_t;