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 */