/*
* Compile-time and run-time interface between gpr and libexpr
*/
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
agbindrec(ep, UDATA, sizeof(edata), 0);
return ep;
}
+
+
*
*/
+#ifdef WIN32
+#include "windows.h"
+#include "Shlwapi.h"
+#endif
+
#include <gprstate.h>
#include <error.h>
#include <sfstr.h>
return state;
}
+int pathisrelative (char* path)
+{
+#ifdef WIN32
+ return PathIsRelative(path);
+#else
+ return 0; /*FIX ME:code this part for UNIX*/
+#endif
+
+
+}
+
* Written by Emden Gansner
*/
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#else
#include "compat_getopt.h"
#endif
-#ifdef WIN32
-#include <windows.h>
-#include <iostream.h>
-#include "Shlwapi.h"
-#endif
char *Info[] = {
"gvpr", /* Program */
size_t sz;
#ifdef WIN32
- if (!PathIsRelative (arg))
+ if (!pathisrelative (arg))
#else
if (strchr(arg, '/'))
#endif