Skip to content

Commit

Permalink
Lock behind win32 conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Oct 20, 2024
1 parent 7a797a0 commit b50a48a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/d3d11.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# SPDX-License-Identifier: MIT
# Copyright (c) 2024 David Lechner <david@pybricks.com>
import sys

if sys.platform != "win32":
raise OSError

import ctypes
import enum
import uuid
Expand Down

0 comments on commit b50a48a

Please sign in to comment.