projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc3cee
)
fix build on Solaris using Solaris Studio
author
Maxim Zakharov
<dp.maxime@gmail.com>
Fri, 11 May 2018 08:36:58 +0000
(18:36 +1000)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Mon, 14 May 2018 11:11:31 +0000
(20:11 +0900)
psqlodbc.c
patch
|
blob
|
blame
|
history
diff --git
a/psqlodbc.c
b/psqlodbc.c
index 045efc1fca344e1617142b735afdceffc8e2713e..d52d1e251598b08ed88df3ffe9b9f28f08a8bd03 100644
(file)
--- a/
psqlodbc.c
+++ b/
psqlodbc.c
@@
-154,7
+154,7
@@
DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
#else /* not WIN32 */
-#if
def __GNUC__
+#if
defined(__GNUC__) || defined(__SUNPRO_C)
/* Shared library initializer and destructor, using gcc's attributes */