1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Simplify code used in is_absolute_path() macro; also add comment about

'E:abc' Win32 path handling.
This commit is contained in:
Bruce Momjian
2011-02-03 10:46:31 -05:00
parent 76129e7f14
commit 35b0a6b205
2 changed files with 14 additions and 10 deletions

View File

@ -34,12 +34,6 @@
#include "pg_config_paths.h"
#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