浏览代码

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
Christopher Galas 9 年之前
父节点
当前提交
98570c0bd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/ws_server/Makefile

+ 1 - 1
examples/ws_server/Makefile

@@ -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)