summaryrefslogtreecommitdiff
path: root/src/cc-compat.h
diff options
context:
space:
mode:
authorJulio Espinoza-Sokal <julioes@gmail.com>2009-06-15 21:27:49 -0400
committerAndreas Ericsson <ae@op5.se>2009-06-16 11:40:48 +0200
commit209849a44961d4fb86fc51710affec6d8c407cf7 (patch)
tree408509eef776dff28a36b63e8785ff04f7cf9846 /src/cc-compat.h
parent73c4dd9253f8d43c436fc88e64096910f4f1b8ee (diff)
downloadlibgit2-209849a44961d4fb86fc51710affec6d8c407cf7.tar.gz
Use GIT_INLINE macro instead of keyword inline.
No need to define inline as __inline because libgit2 code should be using GIT_INLINE instead. Signed-off-by: Julio Espinoza-Sokal <julioes@gmail.com> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/cc-compat.h')
-rw-r--r--src/cc-compat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h
index 4141dd83e..8997caa24 100644
--- a/src/cc-compat.h
+++ b/src/cc-compat.h
@@ -46,12 +46,4 @@
# define PRIuZ "Iu"
#endif
-/* Micosoft Visual C/C++ */
-#if defined(_MSC_VER)
-/* no direct support for C99 inline function specifier */
-# define inline __inline
-/* disable "deprecated function" warnings */
-# pragma warning ( disable : 4996 )
-#endif
-
#endif /* INCLUDE_compat_h__ */