diff options
author | Romain Geissler <romain.geissler@gmail.com> | 2011-06-15 14:36:08 +0400 |
---|---|---|
committer | Romain Geissler <romain.geissler@gmail.com> | 2011-06-16 00:11:18 +0400 |
commit | 0657e46deef98803058a3c339433a2b6dcafcc13 (patch) | |
tree | 58af3fdf2631088e8e9ff7c99bc70558f5f60ca1 /src/common.h | |
parent | efcc87c9d95a0b156c657c0e5c11580e7f071efd (diff) |
Fix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.
GIT_PATH_LIST_SEPARATOR and GIT_PATH_MAX are made public so
that it's can be used by a client.
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/common.h b/src/common.h index f4f11fd2f..5b3d8e2bb 100644 --- a/src/common.h +++ b/src/common.h @@ -1,13 +1,11 @@ #ifndef INCLUDE_common_h__ #define INCLUDE_common_h__ +#include "git2/common.h" + /** Force 64 bit off_t size on POSIX. */ #define _FILE_OFFSET_BITS 64 -#if defined(_WIN32) && !defined(__CYGWIN__) -#define GIT_WIN32 1 -#endif - #include "git2/thread-utils.h" #include "cc-compat.h" @@ -48,13 +46,11 @@ typedef SSIZE_T ssize_t; # endif #endif -#include "git2/common.h" #include "git2/types.h" #include "git2/errors.h" #include "thread-utils.h" #include "bswap.h" -#define GIT_PATH_MAX 4096 extern int git__throw(int error, const char *, ...) GIT_FORMAT_PRINTF(2, 3); extern int git__rethrow(int error, const char *, ...) GIT_FORMAT_PRINTF(2, 3); |