Skip to content
Snippets Groups Projects
Commit 1bd5e01d authored by deuce's avatar deuce
Browse files

Add HAS_INTTYPES_H detection.

parent 265a2e42
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,10 @@ ifeq ($(OS),netbsd)
CCFLAGS += -D__unix__
endif
ifeq ($(shell if [ -f /usr/include/inttypes.h ] ; then echo YES ; fi),YES)
CCFLAGS += -DHAS_INTTYPES_H
endif
OBJDIR := obj.$(OS)/
all : freevote.$(OS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment