diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-05-16 10:39:09 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-05-16 10:39:09 (GMT) |
commit | 42d1c9715be3865776b2047b3c1e8c8177d492c0 (patch) | |
tree | 299ac34b04dfc325c5dece7d42c203d61582bcd8 /contrib | |
parent | 3e099d9fa8780a1206f2bb0a285241f156fa5138 (diff) | |
download | uscxml-42d1c9715be3865776b2047b3c1e8c8177d492c0.zip uscxml-42d1c9715be3865776b2047b3c1e8c8177d492c0.tar.gz uscxml-42d1c9715be3865776b2047b3c1e8c8177d492c0.tar.bz2 |
Preparations for C89 datamodel
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/patches/picoc/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/patches/picoc/CMakeLists.txt b/contrib/patches/picoc/CMakeLists.txt index 92cc2c7..76fe184 100644 --- a/contrib/patches/picoc/CMakeLists.txt +++ b/contrib/patches/picoc/CMakeLists.txt @@ -13,7 +13,11 @@ file(GLOB PICOC_FILES add_definitions("-DUNIX_HOST") list (APPEND PICOC_FILES ${PROJECT_SOURCE_DIR}/platform/library_unix.c) list (APPEND PICOC_FILES ${PROJECT_SOURCE_DIR}/platform/platform_unix.c) - + endif() + if (WIN32) + list (REMOVE_ITEM PICOC_FILES ${PROJECT_SOURCE_DIR}/cstdlib/unistd.c) + list (APPEND PICOC_FILES ${PROJECT_SOURCE_DIR}/platform/platform_msvc.c) + list (APPEND PICOC_FILES ${PROJECT_SOURCE_DIR}/platform/library_msvc.c) endif() add_library(picoc ${PICOC_FILES}) |