Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/cmake/msvc_arch_flags.c')
-rw-r--r--intern/cycles/cmake/msvc_arch_flags.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/intern/cycles/cmake/msvc_arch_flags.c b/intern/cycles/cmake/msvc_arch_flags.c
index 79dbd3b87ac..22fcc2c437a 100644
--- a/intern/cycles/cmake/msvc_arch_flags.c
+++ b/intern/cycles/cmake/msvc_arch_flags.c
@@ -14,25 +14,25 @@
* limitations under the License.
*/
-#include <stdio.h>
#include <isa_availability.h>
+#include <stdio.h>
/* The MS CRT defines this */
extern int __isa_available;
-const char* get_arch_flags()
+const char *get_arch_flags()
{
- if (__isa_available >= __ISA_AVAILABLE_AVX2) {
+ if (__isa_available >= __ISA_AVAILABLE_AVX2) {
return "/arch:AVX2";
}
- if (__isa_available >= __ISA_AVAILABLE_AVX) {
+ if (__isa_available >= __ISA_AVAILABLE_AVX) {
return "/arch:AVX";
}
- return "";
+ return "";
}
int main()
{
- printf("%s\n", get_arch_flags());
- return 0;
+ printf("%s\n", get_arch_flags());
+ return 0;
}