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:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-09-06 20:53:44 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-09-06 20:53:44 +0400
commit601979fc15ccbc69b96f62563638c8b755152942 (patch)
tree98f4d7900988148f4d0e0ff186703ea5742e4a5c /source/blender/gpu
parent115cf18bed42d590545d83c73438dc826120313a (diff)
Fix Windows compile error. Update MSVC project files
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index b6285915484..00efe6e1572 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -50,6 +50,8 @@
#include "GPU_material.h"
#include "GPU_extensions.h"
+#include "BLO_sys_types.h" // for intptr_t support
+
#include "gpu_codegen.h"
#include <string.h>
@@ -57,7 +59,7 @@
#ifdef _WIN32
#ifndef vsnprintf
-#define _vsnprintf vsnprintf
+#define vsnprintf _vsnprintf
#endif
#ifndef snprintf
#define snprintf _snprintf