summaryrefslogtreecommitdiff
path: root/src/port/path.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-02-03 10:46:31 -0500
committerBruce Momjian <bruce@momjian.us>2011-02-03 10:47:06 -0500
commit35b0a6b205c25d592b966aa17d3c6f9e5a88eb62 (patch)
tree68d79a598bc84d77ad6de078d784ea2fe2b16e1f /src/port/path.c
parent76129e7f14b4605db0a046e13abef0e255ffe007 (diff)
Simplify code used in is_absolute_path() macro; also add comment about
'E:abc' Win32 path handling.
Diffstat (limited to 'src/port/path.c')
-rw-r--r--src/port/path.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/port/path.c b/src/port/path.c
index ccf801ead64..5b0056dfe58 100644
--- a/src/port/path.c
+++ b/src/port/path.c
@@ -35,12 +35,6 @@
#ifndef WIN32
-#define IS_DIR_SEP(ch) ((ch) == '/')
-#else
-#define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '\\')
-#endif
-
-#ifndef WIN32
#define IS_PATH_VAR_SEP(ch) ((ch) == ':')
#else
#define IS_PATH_VAR_SEP(ch) ((ch) == ';')