Skip to content

Commit

Permalink
Cherry pick PR #3982: Fix C25 xbox build failure on SbFileOpen. (#3987)
Browse files Browse the repository at this point in the history
Refer to the original PR: #3982

b/302715109

---------

Co-authored-by: Yijia Zhang <[email protected]>
  • Loading branch information
cobalt-github-releaser-bot and yjzhang111 authored Aug 14, 2024
1 parent 2d3f3d3 commit a1429e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions starboard/shared/win32/file_open.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#if SB_API_VERSION < 17

#include "starboard/file.h"

#include "starboard/shared/win32/file_internal.h"
Expand Down Expand Up @@ -39,3 +41,5 @@ SbFile SbFileOpen(const char* path,

return new SbFilePrivate(file_handle);
}

#endif // SB_API_VERSION < 17

0 comments on commit a1429e6

Please sign in to comment.