diff options
author | wszqkzqk <wszqkzqk@qq.com> | 2023-01-11 13:44:49 +0800 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2023-01-11 09:37:41 +0100 |
commit | 4bdb3e7301c59a32216ff383c23a4bdcf70fa268 (patch) | |
tree | 5c8133ec9d2ea9efddb39abc8223b416b96182eb /tests/posix | |
parent | 1b63836ba222440affcde4f3036c68f009dabc2c (diff) | |
download | vala-4bdb3e7301c59a32216ff383c23a4bdcf70fa268.tar.gz |
tests: Update c-expected
Diffstat (limited to 'tests/posix')
-rw-r--r-- | tests/posix/arrays.c-expected | 2 | ||||
-rw-r--r-- | tests/posix/empty-length-0.c-expected | 2 | ||||
-rw-r--r-- | tests/posix/string-concat.c-expected | 2 | ||||
-rw-r--r-- | tests/posix/struct_only.c-expected | 2 |
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 |