+2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
+
+ * os_win32.C: compilation fixes
+
2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lstrings.h: do not include <cctype>
#include "os.h"
#include "support/filetools.h"
+#include "support/lstrings.h"
+#include "debug.h"
#include <windows.h>
#include <io.h>
os::shell_type os::_shell = os::UNIX;
unsigned long os::cp_ = 0;
-void os::init(int * argc, char ** argv[]) {
+void os::init(int * /* argc */, char ** argv[]) {
static bool initialized = false;
if (initialized) return;
initialized = true;
if (p.empty())
return false;
- bool isDosPath = (path.length() > 1 && path[1] == ':');
- bool isUnixPath = (path[0] == '/');
+ bool isDosPath = (p.length() > 1 && p[1] == ':');
+ bool isUnixPath = (p[0] == '/');
return isDosPath | isUnixPath;
}