summaryrefslogtreecommitdiff
path: root/tests/annotations
diff options
context:
space:
mode:
authorwszqkzqk <wszqkzqk@qq.com>2023-01-11 13:44:49 +0800
committerRico Tzschichholz <ricotz@ubuntu.com>2023-01-11 09:37:41 +0100
commit4bdb3e7301c59a32216ff383c23a4bdcf70fa268 (patch)
tree5c8133ec9d2ea9efddb39abc8223b416b96182eb /tests/annotations
parent1b63836ba222440affcde4f3036c68f009dabc2c (diff)
downloadvala-4bdb3e7301c59a32216ff383c23a4bdcf70fa268.tar.gz
tests: Update c-expected
Diffstat (limited to 'tests/annotations')
-rw-r--r--tests/annotations/deprecated-method-minimal.c-expected2
-rw-r--r--tests/annotations/deprecated-property-minimal.c-expected2
-rw-r--r--tests/annotations/deprecated.c-expected2
-rw-r--r--tests/annotations/description.c-expected2
4 files changed, 4 insertions, 4 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
diff --git a/tests/annotations/deprecated-property-minimal.c-expected b/tests/annotations/deprecated-property-minimal.c-expected
index cebd8f46d..ad0dd65b7 100644
--- a/tests/annotations/deprecated-property-minimal.c-expected
+++ b/tests/annotations/deprecated-property-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
diff --git a/tests/annotations/deprecated.c-expected b/tests/annotations/deprecated.c-expected
index c867d18f8..808df9983 100644
--- a/tests/annotations/deprecated.c-expected
+++ b/tests/annotations/deprecated.c-expected
@@ -6,7 +6,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
diff --git a/tests/annotations/description.c-expected b/tests/annotations/description.c-expected
index d6527b7e8..e2d01d7a5 100644
--- a/tests/annotations/description.c-expected
+++ b/tests/annotations/description.c-expected
@@ -7,7 +7,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