aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Nikulov <sergey.nikulov@gmail.com>2012-09-13 12:29:54 +0400
committerDaniel Stenberg <daniel@haxx.se>2012-09-17 23:21:31 +0200
commit889038f668d1ee565c54e7f418ae6aa9c52ace12 (patch)
treeef5f76e4895dbf4d5c0ae116f6fa695ba4bf3a3b
parent907a9d25e8da4620b945d2c247c8910122236138 (diff)
setup.h: fixed for MS VC10 build
Bug: http://curl.haxx.se/bug/view.cgi?id=3568327
-rw-r--r--lib/setup.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 87a9d82b5..a45d116f4 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -610,11 +610,6 @@ int netware_init(void);
#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")
#endif
-/* Define S_ISREG if not defined by system headers, f.e. MSVC */
-#if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG)
-#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
-#endif
-
/*
* Provide a mechanism to silence picky compilers, such as gcc 4.6+.
* Parameters should of course normally not be unused, but for example when
@@ -668,4 +663,9 @@ int netware_init(void);
# define SHUT_RDWR 0x02
#endif
+/* Define S_ISREG if not defined by system headers, f.e. MSVC */
+#if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG)
+#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
+#endif
+
#endif /* HEADER_CURL_SETUP_H */