File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11#include "sentry_path.h"
22#include "sentry_testsupport.h"
33
4- #ifdef SENTRY_PLATFORM_LINUX
4+ #if defined( SENTRY_PLATFORM_LINUX ) && !defined( SENTRY_PLATFORM_ANDROID )
55# include <dirent.h>
66
77struct distro {
@@ -123,11 +123,11 @@ assert_equals_snap(sentry_value_t os_dist)
123123}
124124
125125extern sentry_value_t get_linux_os_release (const char * os_rel_path );
126- #endif
126+ #endif // defined(SENTRY_PLATFORM_LINUX) && !defined(SENTRY_PLATFORM_ANDROID)
127127
128128SENTRY_TEST (os_releases_snapshot )
129129{
130- #ifndef SENTRY_PLATFORM_LINUX
130+ #if !defined( SENTRY_PLATFORM_LINUX ) && defined( SENTRY_PLATFORM_ANDROID )
131131 SKIP_TEST ();
132132#else
133133 const char * rel_test_data_path = "../fixtures/os_releases" ;
@@ -171,5 +171,5 @@ SENTRY_TEST(os_releases_snapshot)
171171
172172 closedir (test_data_dir );
173173 sentry__path_free (test_data_path );
174- #endif
174+ #endif // !defined(SENTRY_PLATFORM_LINUX) && defined(SENTRY_PLATFORM_ANDROID)
175175}
You can’t perform that action at this time.
0 commit comments