Skip to content

Commit

Permalink
[WindowsStore] freetype
Browse files Browse the repository at this point in the history
  • Loading branch information
Rechi committed Jun 9, 2017
1 parent 10a8fa3 commit 24aaaca
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion patches/freetype.diff
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,17 @@
elseif (WINCE)
set(BASE_SRCS ${BASE_SRCS} builds/wince/ftdebug.c)
else ()
@@ -339,6 +342,11 @@
@@ -323,6 +326,9 @@
set(BASE_SRCS ${BASE_SRCS} src/base/ftdebug.c)
endif ()

+if(MSVC)
+ add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS)
+endif()

if (BUILD_FRAMEWORK)
set(BASE_SRCS
@@ -339,6 +345,11 @@
${PRIVATE_HEADERS}
${BASE_SRCS}
)
Expand Down

0 comments on commit 24aaaca

Please sign in to comment.