Răsfoiți Sursa

[net][sal] Remove SAL_USING_POSIX dependence for lwIP stack.

chenyong 6 ani în urmă
părinte
comite
a862619490
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  1. 0 4
      include/rtdebug.h

+ 0 - 4
include/rtdebug.h

@@ -29,10 +29,6 @@
 #error "POSIX poll/select, stdin need file system(RT_USING_DFS) and device file system(RT_USING_DFS_DEVFS)"
 #error "POSIX poll/select, stdin need file system(RT_USING_DFS) and device file system(RT_USING_DFS_DEVFS)"
 #endif
 #endif
 
 
-#if defined(RT_USING_LWIP) && !defined(SAL_USING_POSIX)
-#error "POSIX poll/select, stdin need file BSD socket API(SAL_USING_POSIX)"
-#endif
-
 #if !defined(RT_USING_LIBC)
 #if !defined(RT_USING_LIBC)
 #error "POSIX layer need standard C library(RT_USING_LIBC)"
 #error "POSIX layer need standard C library(RT_USING_LIBC)"
 #endif
 #endif