rtl8723ds: Remove WINDOWS code

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger
2017-10-16 19:51:31 -05:00
parent 27368d0b9c
commit c3c991544f
36 changed files with 16 additions and 1854 deletions

View File

@@ -98,7 +98,7 @@
*/
#if defined(PLATFORM_LINUX) || defined(PLATFORM_WINDOWS) || defined(PLATFORM_MPIXEL) || defined(PLATFORM_FREEBSD)
#if defined(PLATFORM_LINUX)
/*
* inside the kernel, we can use nicknames;
* outside of it, we must avoid POSIX namespace pollution...
@@ -198,15 +198,4 @@
#endif /* OPTIMIZE */
#if defined(PLATFORM_WINDOWS)
#define htonl(x) __cpu_to_be32(x)
#define ntohl(x) __be32_to_cpu(x)
#define htons(x) __cpu_to_be16(x)
#define ntohs(x) __be16_to_cpu(x)
#endif
#endif /* _LINUX_BYTEORDER_GENERIC_H */

View File

@@ -126,7 +126,7 @@ __inline static __u64 __arch__swab64(__u64 x)
return __arch__swab32(x);
}
#if defined(PLATFORM_LINUX) || defined(PLATFORM_WINDOWS)
#if defined(PLATFORM_LINUX)
#define swab16 __swab16
#define swab32 __swab32
#define swab64 __swab64