diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-12 00:04:30 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-12 00:04:30 +0200 |
commit | 86418bfbbe2d6afcd630f93d5858f2d3353e12f9 (patch) | |
tree | f7e06b71df755e454cf8b5a8a20795288733867c /config.h.cmake | |
parent | 1e1c13f756287e14ff37b6410ef29c67494c830b (diff) | |
parent | db284d60b97bbee864d88737b4f8c6ae5b03c8ff (diff) | |
download | libssh-86418bfbbe2d6afcd630f93d5858f2d3353e12f9.tar.gz libssh-86418bfbbe2d6afcd630f93d5858f2d3353e12f9.tar.xz libssh-86418bfbbe2d6afcd630f93d5858f2d3353e12f9.zip |
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index b49b2278..69863735 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -82,3 +82,17 @@ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #cmakedefine WORDS_BIGENDIAN 1 + +/************************* MS Windows ***************************/ + +#ifdef _WIN32 +# ifdef _MSC_VER +/* On Microsoft compilers define inline to __inline on all others use inline */ +# undef inline +# define inline __inline + +# undef strdup +# define strdup _strdup +# endif // _MSC_VER +#endif /* _WIN32 */ + |