openwrtv4/package/network/config/ltq-vdsl-app/patches/010-warnings.patch
John Crispin 11f2007895 lantiq: ltq-vdsl-app: update to version 4.16.6.3
In this upstream dsl driver app version the autoboot is deactivated activate
it again.
In addition to the update this also fixes some build warnings and makes it
use the same configure option as used in Lantiq UGW.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47637
2015-11-24 20:41:30 +00:00

23 lines
524 B
Diff

--- a/src/dsl_cpe_os.h
+++ b/src/dsl_cpe_os.h
@@ -31,15 +31,15 @@
#ifndef _lint
#ifdef LINUX
#include "dsl_cpe_linux.h"
-#elif WIN32
+#elif defined(WIN32)
#include "dsl_cpe_win32.h"
-#elif VXWORKS
+#elif defined(VXWORKS)
#include "dsl_cpe_vxworks.h"
-#elif ECOS
+#elif defined(ECOS)
#include "dsl_cpe_ecos.h"
-#elif RTEMS
+#elif defined(RTEMS)
#include "dsl_cpe_rtems.h"
-#elif GENERIC_OS
+#elif defined(GENERIC_OS)
#include "dsl_cpe_generic_os.h"
#else
#error please define your OS for the CPE Control adaptation