summaryrefslogtreecommitdiff
path: root/tests/arrays/slice-fixed-length.c-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arrays/slice-fixed-length.c-expected')
-rw-r--r--tests/arrays/slice-fixed-length.c-expected2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arrays/slice-fixed-length.c-expected b/tests/arrays/slice-fixed-length.c-expected
index 0a6d31126..68e96440e 100644
--- a/tests/arrays/slice-fixed-length.c-expected
+++ b/tests/arrays/slice-fixed-length.c-expected
@@ -6,7 +6,7 @@
#include <glib.h>
#if !defined(VALA_EXTERN)
-#if defined(_MSC_VER)
+#if defined(_WIN32) || defined(__CYGWIN__)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern