mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-13 05:31:36 +01:00
...
This commit is contained in:
parent
99bd34fbb9
commit
257d386a1b
2 changed files with 3 additions and 2 deletions
|
@ -581,7 +581,7 @@ int CallCmdoverride(Cmdoverride *ovr, aClient *cptr, aClient *sptr, int parc, ch
|
|||
#ifdef DYNAMIC_LINKING
|
||||
/* ugly alert!!!! */
|
||||
#include "version.h"
|
||||
char Mod_Version[] = BASE_VERSION PATCH1 PATCH2 PATCH3 PATCH4 PATCH5 PATCH6 PATCH7 PATCH8 PATCH9;
|
||||
DLLFUNC char Mod_Version[] = BASE_VERSION PATCH1 PATCH2 PATCH3 PATCH4 PATCH5 PATCH6 PATCH7 PATCH8 PATCH9;
|
||||
#endif /* DYNAMIC_LINKING */
|
||||
|
||||
|
||||
|
|
|
@ -1241,7 +1241,8 @@ const char *our_dlerror(void)
|
|||
{
|
||||
static char errbuf[513];
|
||||
DWORD err = GetLastError();
|
||||
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, 0, errbuf, 512, NULL);
|
||||
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS, NULL, err,
|
||||
0, errbuf, 512, NULL);
|
||||
return errbuf;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue