From 4259c9195c756ac22358c1c10844030372823a76 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 2 Feb 2009 14:42:40 +0000 Subject: Cleanup the define check in the libssh header file. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@201 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'include/libssh') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index f3ad2f56..5376f02c 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -20,25 +20,24 @@ MA 02111-1307, USA. */ #ifndef _LIBSSH_H #define _LIBSSH_H + #ifndef _MSC_VER #include #include -#else +#else /* _MSC_VER */ //visual studio hasn't inttypes.h so it doesn't know uint32_t typedef unsigned int uint32_t; typedef unsigned short uint16_t; typedef unsigned char uint8_t; typedef unsigned long long uint64_t; +#endif /* _MSC_VER */ -#endif -#ifndef _WIN32 -#include /* for fd_set * */ -#include -#endif #ifdef _WIN32 #include -#endif - +#else +#include /* for fd_set * */ +#include +#endif /* _WIN32 */ #define LIBSSH_VERSION "libssh-0.3-svn" -- cgit