The open source OpenXR runtime

t/steamvr_drv: Adjust ifdef

authored by

Ryan Pavlik and committed by
Jakob Bornecrantz
fedb4fd4 fc9fba9a

+3 -2
+3 -2
src/xrt/targets/steamvr_drv/main.c
··· 1 - // Copyright 2020, Collabora, Ltd. 1 + // Copyright 2020-2022, Collabora, Ltd. 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file ··· 9 9 */ 10 10 11 11 #include "ovrd_interface.h" 12 + #include "xrt/xrt_config_os.h" 12 13 13 - #if defined(_WIN32) 14 + #if defined(XRT_OS_WINDOWS) 14 15 #define HMD_DLL_EXPORT __declspec(dllexport) 15 16 #define HMD_DLL_IMPORT __declspec(dllimport) 16 17 #elif defined(__GNUC__) || defined(COMPILER_GCC) || defined(__APPLE__)