summaryrefslogtreecommitdiff
path: root/tests/annotations/deprecated-method-minimal.c-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/annotations/deprecated-method-minimal.c-expected')
-rw-r--r--tests/annotations/deprecated-method-minimal.c-expected2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/annotations/deprecated-method-minimal.c-expected b/tests/annotations/deprecated-method-minimal.c-expected
index 02168bc6c..44b21e353 100644
--- a/tests/annotations/deprecated-method-minimal.c-expected
+++ b/tests/annotations/deprecated-method-minimal.c-expected
@@ -4,7 +4,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