Skip to content

Commit

Permalink
Fix C25 xbox build failure on SbFileOpen. (youtube#3982)
Browse files Browse the repository at this point in the history
b/302715109

(cherry picked from commit d4f1e95)
Change-Id: I2abb8d9ff9fbab0c80d9ce06e23d114f43d3317f
  • Loading branch information
yjzhang111 committed Aug 14, 2024
1 parent 1ce5a18 commit a8b8a00
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 a8b8a00

Please sign in to comment.