summaryrefslogtreecommitdiff
path: root/tests/posix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix')
-rw-r--r--tests/posix/arrays.c-expected2
-rw-r--r--tests/posix/empty-length-0.c-expected2
-rw-r--r--tests/posix/string-concat.c-expected2
-rw-r--r--tests/posix/struct_only.c-expected2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/posix/arrays.c-expected b/tests/posix/arrays.c-expected
index b59712f6b..2024da37b 100644
--- a/tests/posix/arrays.c-expected
+++ b/tests/posix/arrays.c-expected
@@ -10,7 +10,7 @@
#define FOO 2
#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
diff --git a/tests/posix/empty-length-0.c-expected b/tests/posix/empty-length-0.c-expected
index b11d450f3..a4cff61a0 100644
--- a/tests/posix/empty-length-0.c-expected
+++ b/tests/posix/empty-length-0.c-expected
@@ -8,7 +8,7 @@
#include <assert.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
diff --git a/tests/posix/string-concat.c-expected b/tests/posix/string-concat.c-expected
index 5c9e3b301..686f5d8b4 100644
--- a/tests/posix/string-concat.c-expected
+++ b/tests/posix/string-concat.c-expected
@@ -7,7 +7,7 @@
#include <assert.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
diff --git a/tests/posix/struct_only.c-expected b/tests/posix/struct_only.c-expected
index da17479a4..5553db83c 100644
--- a/tests/posix/struct_only.c-expected
+++ b/tests/posix/struct_only.c-expected
@@ -5,7 +5,7 @@
#include <string.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