mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
Use NAMEDATALEN instead of local define.
Modify path separators for Win32. Per ideas from Takahiro Itagaki
This commit is contained in:
@@ -13,12 +13,6 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
char pathSeparator = '/';
|
||||
#else
|
||||
char pathSeparator = '\\';
|
||||
#endif
|
||||
|
||||
|
||||
static int copy_file(const char *fromfile, const char *tofile, bool force);
|
||||
|
||||
|
Reference in New Issue
Block a user