010-warnings.patch 524 B

1234567891011121314151617181920212223
  1. --- a/src/dsl_cpe_os.h
  2. +++ b/src/dsl_cpe_os.h
  3. @@ -31,15 +31,15 @@
  4. #ifndef _lint
  5. #ifdef LINUX
  6. #include "dsl_cpe_linux.h"
  7. -#elif WIN32
  8. +#elif defined(WIN32)
  9. #include "dsl_cpe_win32.h"
  10. -#elif VXWORKS
  11. +#elif defined(VXWORKS)
  12. #include "dsl_cpe_vxworks.h"
  13. -#elif ECOS
  14. +#elif defined(ECOS)
  15. #include "dsl_cpe_ecos.h"
  16. -#elif RTEMS
  17. +#elif defined(RTEMS)
  18. #include "dsl_cpe_rtems.h"
  19. -#elif GENERIC_OS
  20. +#elif defined(GENERIC_OS)
  21. #include "dsl_cpe_generic_os.h"
  22. #else
  23. #error please define your OS for the CPE Control adaptation