diff options
| author | Russell Belfer <rb@github.com> | 2013-02-28 14:14:45 -0800 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-02-28 14:14:45 -0800 |
| commit | 97b7137459a64e24fbe5ef16bee254cae6b018a1 (patch) | |
| tree | 74cd0a458616ebd069cf7e31bb454fccc37d2db4 /src/common.h | |
| parent | f708c89fa6e0d156d7b083de53d311babd3d2d8c (diff) | |
| download | libgit2-97b7137459a64e24fbe5ef16bee254cae6b018a1.tar.gz | |
Add GIT_STDLIB_CALL
This removes the one-off GIT_CDECL and adds a new standard way of
doing this named GIT_STDLIB_CALL with a src/win32 specific def
when on the Windows platform.
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index ca203ee5c..48c4b5453 100644 --- a/src/common.h +++ b/src/common.h @@ -41,6 +41,8 @@ # ifdef GIT_THREADS # include <pthread.h> # endif +#define GIT_STDLIB_CALL + #endif #include "git2/types.h" |
