Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
6d914726
by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-01-13T22:28:54-05:00
1 changed file:
Changes:
... | ... | @@ -297,7 +297,7 @@ if (NOT FT_DISABLE_BROTLI) |
297 | 297 | endif ()
|
298 | 298 | |
299 | 299 | # Create the configuration file
|
300 | -if (UNIX)
|
|
300 | +if (UNIX AND NOT WIN32)
|
|
301 | 301 | check_include_file("unistd.h" HAVE_UNISTD_H)
|
302 | 302 | check_include_file("fcntl.h" HAVE_FCNTL_H)
|
303 | 303 | |
... | ... | @@ -423,10 +423,10 @@ set(BASE_SRCS |
423 | 423 | src/winfonts/winfnt.c
|
424 | 424 | )
|
425 | 425 | |
426 | -if (UNIX)
|
|
427 | - list(APPEND BASE_SRCS "builds/unix/ftsystem.c")
|
|
428 | -elseif (WIN32)
|
|
426 | +if (WIN32)
|
|
429 | 427 | list(APPEND BASE_SRCS "builds/windows/ftsystem.c")
|
428 | +elseif (UNIX)
|
|
429 | + list(APPEND BASE_SRCS "builds/unix/ftsystem.c")
|
|
430 | 430 | else ()
|
431 | 431 | list(APPEND BASE_SRCS "src/base/ftsystem.c")
|
432 | 432 | endif ()
|