cmdlib.c: getwd change to getcwd.
This commit is contained in:
parent
6c7569abc1
commit
964f9556be
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
|
#else
|
||||||
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NeXT
|
#ifdef NeXT
|
||||||
|
@ -169,7 +171,7 @@ void Q_getwd (char *out)
|
||||||
_getcwd (out, 256);
|
_getcwd (out, 256);
|
||||||
strcat (out, "\\");
|
strcat (out, "\\");
|
||||||
#else
|
#else
|
||||||
getwd (out);
|
getcwd (out, 256);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue