summaryrefslogtreecommitdiffstats
path: root/package/network/config/ltq-vdsl-app/patches/010-warnings.patch
blob: 96d8319e59916fb8fbae956797d5189264b2a00a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- 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