psqlodbc.git / summary / log / commit / refs

commit    3bd33df12db9809d35f0dcdde66faee930b72e7f
Author:   Maxim Zakharov <dp.maxime@gmail.com>
Commit:   Hiroshi Inoue <h-inoue@dream.email.ne.jp>
Date:     Fri May 11 08:36:58 2018 +0000

    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 045efc1f..d52d1e25 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 */ [parent: 4fc3cee50b77]