From 576c0327a7a5457663fa77c1f793fd754479f6d2 Mon Sep 17 00:00:00 2001 From: Maxim Zakharov Date: Fri, 11 May 2018 18:36:58 +1000 Subject: [PATCH] fix build on Solaris using Solaris Studio --- psqlodbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psqlodbc.c b/psqlodbc.c index b12916d..d903be7 100644 --- a/psqlodbc.c +++ b/psqlodbc.c @@ -154,7 +154,7 @@ DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved) #else /* not WIN32 */ -#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__SUNPRO_C) /* Shared library initializer and destructor, using gcc's attributes */ -- 1.8.3.1