aboutsummaryrefslogtreecommitdiff
path: root/include
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:35:06 +0100
commitf46bf418136ff58124938207a758414eaa6201b4 (patch)
tree0be05acba73b5a49344ea0d9334657d1c24c6a58 /include
parent8e632b14d1560e0bcaa37ca82e928906fce7f554 (diff)
downloadlibssh-f46bf418136ff58124938207a758414eaa6201b4.tar.gz
libssh-f46bf418136ff58124938207a758414eaa6201b4.tar.xz
libssh-f46bf418136ff58124938207a758414eaa6201b4.zip
libssh: Don't use the visibility flag on OS/2.
Diffstat (limited to 'include')
-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 d1c1b3bd..77af7897 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -41,7 +41,7 @@
#endif
#endif
#else
- #if __GNUC__ >= 4
+ #if __GNUC__ >= 4 && !defined(__OS2__)
#define LIBSSH_API __attribute__((visibility("default")))
#else
#define LIBSSH_API