summaryrefslogtreecommitdiff
path: root/PACE/pace/config
diff options
context:
space:
mode:
authorluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-16 22:07:15 +0000
committerluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-16 22:07:15 +0000
commitefea2c743914a59acb50ce86ebebe7bd89a0e2d6 (patch)
tree88ea4ffa76b4c3e81c5cb8efac46842a9e97d21e /PACE/pace/config
parent527d76b1bcd2bfff50409be7e89a4c8afe387c74 (diff)
downloadATCD-efea2c743914a59acb50ce86ebebe7bd89a0e2d6.tar.gz
Sun Jul 16 17:03:11 2000 Luther J Baker <luther@cs.wustl.edu>
Diffstat (limited to 'PACE/pace/config')
-rw-r--r--PACE/pace/config/utility.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/PACE/pace/config/utility.h b/PACE/pace/config/utility.h
index 8054489b8fa..00190743704 100644
--- a/PACE/pace/config/utility.h
+++ b/PACE/pace/config/utility.h
@@ -48,7 +48,9 @@ return ( (errno = ENOTSUP), FAILVALUE)
/* Should later be made to work on non win32 platforms! */
#if defined (PACE_WIN32)
+
#include <windows.h>
+
// Perform a mapping of Win32 error numbers into POSIX errnos.
# define PACE_FAIL_RETURN(RESULT) do { \
switch (GetLastError ()) { \
@@ -59,6 +61,17 @@ return ( (errno = ENOTSUP), FAILVALUE)
} \
return RESULT; } while (0)
-#endif
+// The "null" device on Win32.
+# define PACE_DEV_NULL "nul"
+
+// Define the pathname separator characters for Win32 (ugh).
+# define PACE_DIRECTORY_SEPARATOR_STR "\\"
+# define PACE_DIRECTORY_SEPARATOR_CHAR '\\'
+# define PACE_LD_SEARCH_PATH "PATH"
+# define PACE_LD_SEARCH_PATH_SEPARATOR_STR ";"
+# define PACE_DLL_SUFFIX ".dll"
+# define PACE_DLL_PREFIX ""
+
+#endif /* PACE_WIN32 */
#endif /* PACE_CONFIG_UTILITY_H */