summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-31 14:35:06 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-31 14:36:27 +0100
commit3797ca0ec632d6058234c1e047aa34e054ec5364 (patch)
treebf7ee64c451317db288b04bacc7ead4ea6daeef9 /include/libssh
parentbfe59d0cdd151f7f655c2a4066ba6e840b33fc82 (diff)
downloadlibssh-3797ca0ec632d6058234c1e047aa34e054ec5364.tar.gz
libssh-3797ca0ec632d6058234c1e047aa34e054ec5364.tar.xz
libssh-3797ca0ec632d6058234c1e047aa34e054ec5364.zip
libssh: Don't use the visibility flag on OS/2.
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index ccd27620..5948f14b 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -40,7 +40,7 @@
#endif
#endif
#else
- #if __GNUC__ >= 4
+ #if __GNUC__ >= 4 && !defined(__OS2__)
#define LIBSSH_API __attribute__((visibility("default")))
#else
#define LIBSSH_API