summaryrefslogtreecommitdiff
path: root/src/include/port
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2012-09-28 19:43:50 -0400
committerAndrew Dunstan <andrew@dunslane.net>2012-09-28 19:43:50 -0400
commit6e9876dc32495976af525fa29922648a02c8ef9b (patch)
tree6b2bd6579b31216a6e57503e540e2a12e34d2bd9 /src/include/port
parentff7e5b4841eeedfb9cefec6226f4dca5b8840276 (diff)
downloadpostgresql-6e9876dc32495976af525fa29922648a02c8ef9b.tar.gz
Remove checks for now long outdated compilers.
Diffstat (limited to 'src/include/port')
-rw-r--r--src/include/port/cygwin.h4
-rw-r--r--src/include/port/win32.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h
index 4aca4bf66f..5c149470c6 100644
--- a/src/include/port/cygwin.h
+++ b/src/include/port/cygwin.h
@@ -9,10 +9,6 @@
#undef HAVE_UNIX_SOCKETS
#endif
-#if __GNUC__ && ! defined (__declspec)
-#error You need egcs 1.1 or newer for compiling!
-#endif
-
#ifdef BUILDING_DLL
#define PGDLLIMPORT __declspec (dllexport)
#else
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index a00ec897d2..b357663d63 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -68,10 +68,6 @@
/* defines for dynamic linking on Win32 platform */
#if defined(WIN32) || defined(__CYGWIN__)
-#if __GNUC__ && ! defined (__declspec)
-#error You need egcs 1.1 or newer for compiling!
-#endif
-
#ifdef BUILDING_DLL
#define PGDLLIMPORT __declspec (dllexport)
#else /* not BUILDING_DLL */