Skip to content

Commit

Permalink
cmake: defines for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
rghilduta committed Dec 2, 2023
1 parent 05dafc8 commit e71bdb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions host/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ if(MSVC)
if(MSVC_VERSION LESS 1800)
set(MSVC_C99_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/common/include/windows/c99)
endif()

# MSVC ships with its own timespec
add_definitions(-DHAVE_STRUCT_TIMESPEC)
endif(MSVC)

################################################################################
Expand Down

0 comments on commit e71bdb3

Please sign in to comment.