Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: document --username/commit-url for branch/tag
[gitweb.git]
/
git-compat-util.h
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
@@
-178,6
+178,9
@@
extern char *gitbasename(char *);
#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