summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorBruce Momjian2003-05-15 16:35:30 +0000
committerBruce Momjian2003-05-15 16:35:30 +0000
commit12c942383296bd626131241c012c2ab81b081738 (patch)
tree7a37bb6990282b36be53fae1bde399d8e603e9f9 /src/template
parent2c0556068fc308ed9cce06c85de7e42305d34b86 (diff)
Allow Win32 to compile under MinGW. Major changes are:
Win32 port is now called 'win32' rather than 'win' add -lwsock32 on Win32 make gethostname() be only used when kerberos4 is enabled use /port/getopt.c new /port/opendir.c routines disable GUC unix_socket_group on Win32 convert some keywords.c symbols to KEYWORD_P to prevent conflict create new FCNTL_NONBLOCK macro to turn off socket blocking create new /include/port.h file that has /port prototypes, move out of c.h new /include/port/win32_include dir to hold missing include files work around ERROR being defined in Win32 includes
Diffstat (limited to 'src/template')
-rw-r--r--src/template/win323
1 files changed, 3 insertions, 0 deletions
diff --git a/src/template/win32 b/src/template/win32
new file mode 100644
index 00000000000..736e0f293d3
--- /dev/null
+++ b/src/template/win32
@@ -0,0 +1,3 @@
+if test "$GCC" = yes; then
+ CFLAGS="-O2"
+fi