Skip to content

Commit 06a48e8

Browse files
committed
Properly excluding read_one_byte_at_4G test from WinRT.
1 parent de9daa2 commit 06a48e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Release/tests/Functional/streams/fstreambuf_tests.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
#include "stdafx.h"
2424

2525
#ifdef _MS_WINDOWS
26-
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
2726
#include "CppSparseFile.h"
2827
#endif
29-
#endif
3028

3129
#if defined(__cplusplus_winrt)
3230
using namespace Windows::Storage;
@@ -942,7 +940,7 @@ TEST(file_with_one_byte_size)
942940
}
943941
#endif
944942

945-
#if defined(_MS_WINDOWS) && (!defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)) && defined(_WIN64)
943+
#if defined(_MS_WINDOWS) && (!defined(__cplusplus_winrt)) && defined(_WIN64)
946944
// since casablanca does not use sparse file apis we're not doing the reverse test (write one byte at 4Gb and verify with std apis)
947945
// because the file created would be too big
948946
TEST(read_one_byte_at_4G)

0 commit comments

Comments
 (0)