lyx_mirror/src/support/getcwd.C
2000-01-17 21:01:30 +00:00

15 lines
217 B
C

#include <config.h>
#include <unistd.h>
#include "support/lyxlib.h"
char * lyx::getcwd(char * buffer, size_t size)
{
#ifndef __EMX__
return ::getcwd(buffer, size);
#else
return ::_getcwd2(buffer, size);
#endif
}