1
0
mirror of https://github.com/lammertb/libhttp.git synced 2026-01-03 16:02:30 +03:00

Compile fix: Adding in -DMG_LEGACY_INTERFACE=1

The example wasn't compiling under Linux Ubuntu 14.04, since this example replied upon the legacy interface. The following compile flag was needed to build the example:

 -DMG_LEGACY_INTERFACE=1
This commit is contained in:
Christopher Galas
2016-01-28 14:57:02 -08:00
parent d511e59dc4
commit 98570c0bd3

View File

@@ -18,7 +18,7 @@ LIBS = -lpthread
include $(TOP)/resources/Makefile.in-os
ifeq ($(TARGET_OS),LINUX)
LIBS += -ldl
LIBS += -ldl -DMG_LEGACY_INTERFACE=1
endif
all: $(PROG)