Commit f99b8ea5 authored by Aaron Dierking's avatar Aaron Dierking Committed by Guillem Jover

build: Disable CRT warnings on Windows

These warnings are not helpful for libbsd.

[guillem@hadrons.org:
 - Rename WINDOWS conditional to OS_WINDOWS.
 - Add a nil terminator to the AM_CPPFLAGS. ]
Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
parent 4bed4839
......@@ -7,6 +7,13 @@ AM_CPPFLAGS = \
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
-D__REENTRANT
if OS_WINDOWS
AM_CPPFLAGS += \
-D_CRT_SECURE_NO_WARNINGS \
-D_CRT_NONSTDC_NO_WARNINGS \
$(nil)
endif
libbsd_la_included_sources = \
hash/helper.c \
getentropy_aix.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment