]> git.proxmox.com Git - libgit2.git/commit - tests/diff/blob.c
Fix MSVC compilation issue
authornulltoken <emeric.fermas@gmail.com>
Wed, 9 May 2012 19:14:49 +0000 (21:14 +0200)
committernulltoken <emeric.fermas@gmail.com>
Wed, 9 May 2012 19:14:49 +0000 (21:14 +0200)
commit1956693fa0b112daf07240b119190663e2987b3d
tree2cdb4632e0c50ffb2c052861cc68c195738aeea4
parent2aa1e94d3075426563303816dce596793756ea6c
Fix MSVC compilation issue

    exp() is already defined in math.h. This leads to LMSVC complaining

    ..\..\libgit2\tests-clar\diff\blob.c(5): error C2365: 'exp' : redefinition; previous definition was 'function'

    Renaming the variable fixes this issue.
tests-clar/diff/blob.c