summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2c2be1)
raw | patch | inline | side by side (parent: c2c2be1)
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Wed, 20 Jan 2010 19:45:12 +0000 (19:45 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 23 Jan 2010 00:35:42 +0000 (16:35 -0800) |
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h | patch | blob | history |
diff --git a/git-compat-util.h b/git-compat-util.h
index aff627a85a812bb782e68cd27d06eb42d7dac537..620a7c6371d34671986622a9fa7b89ae9cb1f467 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
#ifdef __GNUC__
#define NORETURN __attribute__((__noreturn__))
#define NORETURN_PTR __attribute__((__noreturn__))
+#elif defined(_MSC_VER)
+#define NORETURN __declspec(noreturn)
+#define NORETURN_PTR
#else
#define NORETURN
#define NORETURN_PTR