postgres.git / summary / log / commit / refs
commit 6e9876dc32495976af525fa29922648a02c8ef9b
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Fri Sep 28 23:43:50 2012 +0000
First released in: 9.3.0
Remove checks for now long outdated compilers.
src/include/port/cygwin.h | 4 ----
src/include/port/win32.h | 4 ----
2 files changed, 8 deletions(-)
diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h
index 4aca4bf66f5..5c149470c68 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 a00ec897d29..b357663d63b 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 */
[parent: ff7e5b4841ee]