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
path: root/source
diff options
context:
space:
mode:
authorJuergen Herrmann <shadowrom@me.com>2014-03-09 03:25:08 +0400
committerJuergen Herrmann <shadowrom@me.com>2014-03-09 03:25:08 +0400
commit5559302369ae6a17e9ad5f3c8bd9ea6eb318d87f (patch)
treeb87db634a859b33aa0ddda978cb2b7f0c8a70c26 /source
parent645aa96795b0ecc8f041fe20682d9b7b236009e4 (diff)
Cleanup some useless/unneeded #ifdefs for MSVC2013.
Diffstat (limited to 'source')
-rw-r--r--source/blender/freestyle/intern/geometry/Grid.h2
-rw-r--r--source/blender/imbuf/intern/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/geometry/Grid.h b/source/blender/freestyle/intern/geometry/Grid.h
index 070bee047a9..aefe75f4842 100644
--- a/source/blender/freestyle/intern/geometry/Grid.h
+++ b/source/blender/freestyle/intern/geometry/Grid.h
@@ -30,7 +30,7 @@
#include <cstring> // for memset
#include <float.h>
-#ifndef _MSC_VER
+#ifdef _MSC_VER
#include <stdint.h> // For SET_UINT_IN_POINTER, i.e. uintptr_t.
#endif
#include <vector>
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c
index 7efd0223368..c1cc3f0a1db 100644
--- a/source/blender/imbuf/intern/util.c
+++ b/source/blender/imbuf/intern/util.c
@@ -252,7 +252,7 @@ static int isqtime(const char *name)
#ifdef WITH_FFMPEG
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 1800
#define va_copy(dst, src) ((dst) = (src))
#endif