Commit 975eda2d by Vicent Martí

Merge pull request #196 from sschuberth/cmake-msvc2010

Cmake msvc2010
parents c9662061 765fdf4a
/apidocs
/trash-*.exe
/libgit2.pc
......@@ -15,8 +14,11 @@ build/
tests/tmp/
msvc/Debug/
msvc/Release/
*.sln
*.suo
*.user
*.vc*proj*
*.sdf
*.opensdf
CMake*
*.cmake
.DS_Store
......@@ -565,7 +565,7 @@ void cfg_consume_line(file_backend *cfg)
cfg->reader.read_ptr = line_end;
}
static inline int config_keychar(int c)
GIT_INLINE(int) config_keychar(int c)
{
return isalnum(c) || c == '-';
}
......
......@@ -17,6 +17,10 @@
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
/* case-insensitive string comparision */
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
#if (_MSC_VER >= 1600)
# include <stdint.h>
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment