These files are only compiled on Windows, and most of them didn't have
"#ifdef WIN32" guards. Remove them from the few that did, for
consistency.
Author: Tristan Partin
Discussion: https://www.postgresql.org/message-id/
[email protected]
#include "postgres.h"
#endif
-#ifdef WIN32
-
/*
* pgwin32_get_file_type
*
return fileType;
}
-
-#endif /* WIN32 */
#include "postgres.h"
#endif
-#if defined(WIN32) && defined(_MSC_VER)
+#ifdef _MSC_VER
/*
* _pgfseeko64
return -1;
}
-#endif /* defined(WIN32) && defined(_MSC_VER) */
+#endif /* _MSC_VER */
*-------------------------------------------------------------------------
*/
-#ifdef WIN32
-
#include "c.h"
#include "port/win32ntdll.h"
buf->st_nlink = 1;
return 0;
}
-
-#endif /* WIN32 */