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

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'orc/orcprogram-c.c')
-rw-r--r--orc/orcprogram-c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/orc/orcprogram-c.c b/orc/orcprogram-c.c
index 0639867..9aeee9e 100644
--- a/orc/orcprogram-c.c
+++ b/orc/orcprogram-c.c
@@ -80,6 +80,8 @@ orc_target_c_get_typedefs (void)
"#define ORC_RESTRICT restrict\n"
"#elif defined(__GNUC__) && __GNUC__ >= 4\n"
"#define ORC_RESTRICT __restrict__\n"
+ "#elif defined(_MSC_VER)\n"
+ "#define ORC_RESTRICT __restrict\n"
"#else\n"
"#define ORC_RESTRICT\n"
"#endif\n"