mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-29 14:32:25 +01:00
more win32 fixes
This commit is contained in:
parent
84a61c6d8e
commit
8df116f2f1
3 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@
|
|||
#define PERMDATADIR "data"
|
||||
#define CACHEDIR "cache"
|
||||
#define TMPDIR "tmp"
|
||||
#define PIDFILE PERMDATA"/unrealircd.pid"
|
||||
#define PIDFILE PERMDATADIR"/unrealircd.pid"
|
||||
#define NO_U_TYPES
|
||||
#define NEED_U_INT32_T
|
||||
#define PREFIX_AQ
|
||||
|
|
|
@ -1351,7 +1351,7 @@ int InitwIRCD(int argc, char *argv[])
|
|||
|
||||
do_version_check();
|
||||
|
||||
#ifndef CHROOTDIR
|
||||
#if !defined(CHROOTDIR) && !defined(_WIN32)
|
||||
if (chdir(CONFDIR)) {
|
||||
# ifndef _WIN32
|
||||
perror("chdir");
|
||||
|
|
|
@ -657,7 +657,7 @@ LRESULT CALLBACK FromFileDLG(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPar
|
|||
lpopen.lpstrFile = path;
|
||||
lpopen.nMaxFile = MAX_PATH;
|
||||
lpopen.lpstrFileTitle = NULL;
|
||||
lpopen.lpstrInitialDir = CFGPATH;
|
||||
lpopen.lpstrInitialDir = CONFDIR;
|
||||
lpopen.lpstrTitle = NULL;
|
||||
lpopen.Flags = (OFN_ENABLESIZING|OFN_NONETWORKBUTTON|
|
||||
OFN_OVERWRITEPROMPT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue