summaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade/page.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2010-05-13 15:58:15 +0000
committerMagnus Hagander <magnus@hagander.net>2010-05-13 15:58:15 +0000
commit2b61b3e5074d7f55df82c199b87671334741b4e1 (patch)
tree5afb639ce05cadba2fe2fe3aa13cd65fe8d237cd /contrib/pg_upgrade/page.c
parentf1ac08daeef0b9417b2dff801c10fcc027697453 (diff)
Assorted fixes to make pg_upgrade build on MSVC.
* There is no chmod() on Windows. * Must always use the 3-parameter version of open() * There is no dynloader.h - but it also appears unnecessary on all platforms * Don't include shlobj.h because it causes compile errors, and from what I can see it's not actually used. This may need to be added back for mingw and/or cygwin in the worst case.
Diffstat (limited to 'contrib/pg_upgrade/page.c')
-rw-r--r--contrib/pg_upgrade/page.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/page.c b/contrib/pg_upgrade/page.c
index 105198758bc..18b0472eb20 100644
--- a/contrib/pg_upgrade/page.c
+++ b/contrib/pg_upgrade/page.c
@@ -6,7 +6,6 @@
#include "pg_upgrade.h"
-#include "dynloader.h"
#include "storage/bufpage.h"