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:
@ -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
|
||||
|
Reference in New Issue
Block a user